Blame doxygen-1.6.0-config.patch

Than Ngo f68096
diff -up doxygen-1.6.0/addon/doxywizard/Makefile.in.config doxygen-1.6.0/addon/doxywizard/Makefile.in
Than Ngo f68096
--- doxygen-1.6.0/addon/doxywizard/Makefile.in.config	2009-07-13 22:09:03.000000000 +0200
Than Ngo f68096
+++ doxygen-1.6.0/addon/doxywizard/Makefile.in	2009-08-21 16:42:13.000000000 +0200
Than Ngo f68096
@@ -10,8 +10,6 @@
Than Ngo f68096
 # See the GNU General Public License for more details.
Than Ngo f68096
 # 
Than Ngo e15ff8
 
Than Ngo f68096
-QMAKE=qmake
Than Ngo f68096
-
Than Ngo f68096
 all: Makefile.doxywizard  
Than Ngo f68096
 	$(MAKE) -f Makefile.doxywizard 
Than Ngo f68096
 
Than Ngo f68096
@@ -29,11 +27,11 @@ distclean: Makefile.doxywizard
Than Ngo e15ff8
 	$(RM) Makefile.doxywizard
Than Ngo e15ff8
 
Than Ngo e15ff8
 install:
Than Ngo e15ff8
-	$(INSTTOOL) -d $(INSTALL)/bin	
Than Ngo e15ff8
-	$(INSTTOOL) -m 755 ../../bin/doxywizard $(INSTALL)/bin	
Than Ngo e15ff8
-	$(INSTTOOL) -d $(INSTALL)/$(MAN1DIR)
Than Ngo e15ff8
+	$(INSTTOOL) -d $(DESTDIR)$(INSTALL)/bin	
Than Ngo e15ff8
+	$(INSTTOOL) -m 755 ../../bin/doxywizard $(DESTDIR)$(INSTALL)/bin	
Than Ngo e15ff8
+	$(INSTTOOL) -d $(DESTDIR)$(INSTALL)/$(MAN1DIR)
Than Ngo e15ff8
 	cat ../../doc/doxywizard.1 | sed -e "s/DATE/$(DATE)/g" -e "s/VERSION/$(VERSION)/g" > doxywizard.1
Than Ngo e15ff8
-	$(INSTTOOL) -m 644 doxywizard.1 $(INSTALL)/$(MAN1DIR)/doxywizard.1
Than Ngo e15ff8
+	$(INSTTOOL) -m 644 doxywizard.1 $(DESTDIR)$(INSTALL)/$(MAN1DIR)/doxywizard.1
Than Ngo e15ff8
 	rm doxywizard.1
Than Ngo e15ff8
 
Than Ngo e15ff8
 FORCE:
Than Ngo f68096
diff -up doxygen-1.6.0/configure.config doxygen-1.6.0/configure
Than Ngo f68096
--- doxygen-1.6.0/configure.config	2009-08-20 14:15:07.000000000 +0200
Than Ngo f68096
+++ doxygen-1.6.0/configure	2009-08-21 16:41:36.000000000 +0200
Than Ngo f68096
@@ -268,9 +268,10 @@ if test "$f_wizard" = YES; then
Than Ngo f68096
   if test -z "$QTDIR"; then
Than Ngo f68096
     echo "  QTDIR environment variable not set!"
Than Ngo f68096
     echo -n "  Checking for Qt..."
Than Ngo f68096
-    for d in /usr/{lib,share,qt}/{qt-4,qt4,qt,qt*,4}; do
Than Ngo f68096
+    for d in /usr/{lib64,lib,share,qt}/{qt-4,qt4,qt,qt*,4}; do
Than Ngo f68096
       if test -x "$d/bin/qmake"; then
Than Ngo f68096
         QTDIR=$d
Than Ngo f68096
+        QMAKE=$d/bin/qmake
Than Ngo f68096
       fi
Than Ngo f68096
     done
Than Ngo f68096
   else
Than Ngo f68096
@@ -485,6 +486,8 @@ INSTTOOL  = $f_insttool
Than Ngo f68096
 DOXYDOCS  = ..
Than Ngo f68096
 DOCDIR    = $f_docdir
Than Ngo f68096
 QTDIR     = $QTDIR
Than Ngo f68096
+QMAKE     = $QMAKE
Than Ngo f68096
+MAN1DIR    = share/man/man1
Than Ngo f68096
 EOF
Than Ngo f68096
 
Than Ngo f68096
 if test "$f_dot" != NO; then
Than Ngo f68096
diff -up doxygen-1.6.0/Makefile.in.config doxygen-1.6.0/Makefile.in
Than Ngo f68096
--- doxygen-1.6.0/Makefile.in.config	2009-08-14 15:58:42.000000000 +0200
Than Ngo f68096
+++ doxygen-1.6.0/Makefile.in	2009-08-21 16:34:02.000000000 +0200
Than Ngo e15ff8
@@ -44,8 +44,6 @@ distclean: clean
Than Ngo e15ff8
 
Than Ngo e15ff8
 DATE=$(shell date "+%B %Y")
Than Ngo e15ff8
 
Than Ngo e15ff8
-MAN1DIR = man/man1
Than Ngo e15ff8
-
Than Ngo e15ff8
 install: doxywizard_install 
Than Ngo e15ff8
 	$(INSTTOOL) -d $(DESTDIR)/$(INSTALL)/bin
Than Ngo e15ff8
 	$(INSTTOOL) -m 755 bin/doxygen    $(DESTDIR)/$(INSTALL)/bin
Than Ngo f68096
diff -up doxygen-1.6.0/tmake/lib/linux-g++/tmake.conf.config doxygen-1.6.0/tmake/lib/linux-g++/tmake.conf
Than Ngo f68096
--- doxygen-1.6.0/tmake/lib/linux-g++/tmake.conf.config	2008-12-06 14:16:20.000000000 +0100
Than Ngo f68096
+++ doxygen-1.6.0/tmake/lib/linux-g++/tmake.conf	2009-08-21 16:34:02.000000000 +0200
Than Ngo e15ff8
@@ -11,7 +11,7 @@ TMAKE_CC		= gcc
Than Ngo e15ff8
 TMAKE_CFLAGS		= -pipe
Than Ngo e15ff8
 TMAKE_CFLAGS_WARN_ON	= -Wall -W -fno-exceptions
Than Ngo e15ff8
 TMAKE_CFLAGS_WARN_OFF	=
Than Ngo e15ff8
-TMAKE_CFLAGS_RELEASE	= -O2
Than Ngo e15ff8
+TMAKE_CFLAGS_RELEASE	= $(RPM_OPT_FLAGS)
Than Ngo e15ff8
 TMAKE_CFLAGS_DEBUG	= -g
Than Ngo e15ff8
 TMAKE_CFLAGS_SHLIB	= -fPIC
Than Ngo e15ff8
 TMAKE_CFLAGS_YACC	= -Wno-unused -Wno-parentheses
Than Ngo e15ff8
@@ -27,12 +27,12 @@ TMAKE_CXXFLAGS_YACC	= $$TMAKE_CFLAGS_YAC
Than Ngo e15ff8
 
Than Ngo e15ff8
 TMAKE_INCDIR		=
Than Ngo e15ff8
 TMAKE_LIBDIR		=
Than Ngo e15ff8
-TMAKE_INCDIR_X11	= /usr/X11R6/include
Than Ngo e15ff8
-TMAKE_LIBDIR_X11	= /usr/X11R6/lib
Than Ngo e15ff8
-TMAKE_INCDIR_QT		= $(QTDIR)/include
Than Ngo e15ff8
-TMAKE_LIBDIR_QT		= $(QTDIR)/lib
Than Ngo e15ff8
-TMAKE_INCDIR_OPENGL	= /usr/X11R6/include
Than Ngo e15ff8
-TMAKE_LIBDIR_OPENGL	= /usr/X11R6/lib
Than Ngo e15ff8
+TMAKE_INCDIR_X11	=
Than Ngo e15ff8
+TMAKE_LIBDIR_X11	=
Than Ngo e15ff8
+TMAKE_INCDIR_QT		=
Than Ngo e15ff8
+TMAKE_LIBDIR_QT		=
Than Ngo e15ff8
+TMAKE_INCDIR_OPENGL	=
Than Ngo e15ff8
+TMAKE_LIBDIR_OPENGL	=
Than Ngo e15ff8
 
Than Ngo e15ff8
 TMAKE_LINK		= g++
Than Ngo e15ff8
 TMAKE_LINK_SHLIB	= g++