Blame SOURCES/doxygen-1.7.1-config.patch

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