Blame SOURCES/doxygen-1.7.1-config.patch

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