Blame SOURCES/doxygen-1.7.1-config.patch

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