Blame SOURCES/doxygen-1.7.1-config.patch

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