Blame SOURCES/doxygen-1.7.1-config.patch

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