Blame doxygen-1.8.4-config.patch

Than Ngo 7a60b0
diff -up doxygen-1.8.4/addon/doxywizard/Makefile.in.config doxygen-1.8.4/addon/doxywizard/Makefile.in
Than Ngo 7a60b0
--- doxygen-1.8.4/addon/doxywizard/Makefile.in.config	2013-01-05 16:35:52.000000000 +0100
Than Ngo 7a60b0
+++ doxygen-1.8.4/addon/doxywizard/Makefile.in	2013-05-21 12:22:49.689166894 +0200
Than Ngo f68096
@@ -10,8 +10,6 @@
Than Ngo f68096
 # See the GNU General Public License for more details.
Than Ngo f68096
 # 
Than Ngo e15ff8
 
Than Ngo e24bd7
-QMAKE=qmake $(MKSPECS)
Than Ngo f68096
-
Than Ngo f68096
 all: Makefile.doxywizard  
Than Ngo f68096
 	$(MAKE) -f Makefile.doxywizard 
Than Ngo f68096
 
Than Ngo f68096
@@ -29,11 +27,11 @@ distclean: Makefile.doxywizard
Than Ngo e15ff8
 	$(RM) Makefile.doxywizard
Than Ngo e15ff8
 
Than Ngo e15ff8
 install:
Than Ngo e15ff8
-	$(INSTTOOL) -d $(INSTALL)/bin	
Than Ngo e15ff8
-	$(INSTTOOL) -m 755 ../../bin/doxywizard $(INSTALL)/bin	
Than Ngo e15ff8
-	$(INSTTOOL) -d $(INSTALL)/$(MAN1DIR)
Than Ngo e15ff8
+	$(INSTTOOL) -d $(DESTDIR)$(INSTALL)/bin	
Than Ngo e15ff8
+	$(INSTTOOL) -m 755 ../../bin/doxywizard $(DESTDIR)$(INSTALL)/bin	
Than Ngo e15ff8
+	$(INSTTOOL) -d $(DESTDIR)$(INSTALL)/$(MAN1DIR)
Than Ngo e15ff8
 	cat ../../doc/doxywizard.1 | sed -e "s/DATE/$(DATE)/g" -e "s/VERSION/$(VERSION)/g" > doxywizard.1
Than Ngo e15ff8
-	$(INSTTOOL) -m 644 doxywizard.1 $(INSTALL)/$(MAN1DIR)/doxywizard.1
Than Ngo e15ff8
+	$(INSTTOOL) -m 644 doxywizard.1 $(DESTDIR)$(INSTALL)/$(MAN1DIR)/doxywizard.1
Than Ngo e15ff8
 	rm doxywizard.1
Than Ngo e15ff8
 
Than Ngo e15ff8
 FORCE:
Than Ngo 7a60b0
diff -up doxygen-1.8.4/configure.config doxygen-1.8.4/configure
Than Ngo 7a60b0
--- doxygen-1.8.4/configure.config	2013-05-19 12:05:39.000000000 +0200
Than Ngo 7a60b0
+++ doxygen-1.8.4/configure	2013-05-21 12:25:43.570743493 +0200
Than Ngo 7a60b0
@@ -296,9 +296,10 @@ if test "$f_wizard" = YES; then
Than Ngo f68096
   if test -z "$QTDIR"; then
Than Ngo f68096
     echo "  QTDIR environment variable not set!"
Than Ngo 7a60b0
     printf "  Checking for Qt..."
Than Ngo e24bd7
-    for d in /usr/{lib,share,qt}/{qt-4,qt4,qt,qt*,4} /usr; do
Than Ngo e24bd7
+    for d in /usr/{lib64,lib,share,qt}/{qt-4,qt4,qt,qt*,4} /usr; do
Than Ngo f68096
       if test -x "$d/bin/qmake"; then
Than Ngo f68096
         QTDIR=$d
Than Ngo f68096
+        QMAKE=$d/bin/qmake
Than Ngo f68096
       fi
Than Ngo f68096
     done
Than Ngo f68096
   else
Than Ngo 7a60b0
@@ -606,6 +607,8 @@ INSTTOOL  = $f_insttool
Than Ngo f68096
 DOXYDOCS  = ..
Than Ngo f68096
 DOCDIR    = $f_docdir
Than Ngo f68096
 QTDIR     = $QTDIR
Than Ngo f68096
+QMAKE     = $QMAKE
Than Ngo f68096
+MAN1DIR    = share/man/man1
Than Ngo f68096
 EOF
Than Ngo f68096
 
Than Ngo f68096
 if test "$f_dot" != NO; then
Than Ngo 7a60b0
diff -up doxygen-1.8.4/Makefile.in.config doxygen-1.8.4/Makefile.in
Than Ngo 7a60b0
--- doxygen-1.8.4/Makefile.in.config	2013-04-25 21:38:39.000000000 +0200
Than Ngo 7a60b0
+++ doxygen-1.8.4/Makefile.in	2013-05-21 12:22:49.689166894 +0200
Than Ngo 4706d4
@@ -53,8 +53,6 @@ distclean: clean
Than Ngo e15ff8
 
Than Ngo e15ff8
 DATE=$(shell date "+%B %Y")
Than Ngo e15ff8
 
Than Ngo e15ff8
-MAN1DIR = man/man1
Than Ngo e15ff8
-
Than Ngo 4706d4
 install: doxywizard_install doxysearch_install
Than Ngo e15ff8
 	$(INSTTOOL) -d $(DESTDIR)/$(INSTALL)/bin
Than Ngo 4706d4
 	$(INSTTOOL) -m 755 bin/doxygen        $(DESTDIR)/$(INSTALL)/bin
Than Ngo 7a60b0
diff -up doxygen-1.8.4/tmake/lib/linux-g++/tmake.conf.config doxygen-1.8.4/tmake/lib/linux-g++/tmake.conf
Than Ngo 7a60b0
--- doxygen-1.8.4/tmake/lib/linux-g++/tmake.conf.config	2012-12-22 19:49:04.000000000 +0100
Than Ngo 7a60b0
+++ doxygen-1.8.4/tmake/lib/linux-g++/tmake.conf	2013-05-21 12:22:49.689166894 +0200
Than Ngo e15ff8
@@ -11,7 +11,7 @@ TMAKE_CC		= gcc
Than Ngo ad5f99
 TMAKE_CFLAGS		= -pipe 
Than Ngo 4706d4
 TMAKE_CFLAGS_WARN_ON	= -Wall -W 
Than Ngo e15ff8
 TMAKE_CFLAGS_WARN_OFF	=
Than Ngo e15ff8
-TMAKE_CFLAGS_RELEASE	= -O2
Than Ngo e15ff8
+TMAKE_CFLAGS_RELEASE	= $(RPM_OPT_FLAGS)
Than Ngo e15ff8
 TMAKE_CFLAGS_DEBUG	= -g
Than Ngo e15ff8
 TMAKE_CFLAGS_SHLIB	= -fPIC
Than Ngo e15ff8
 TMAKE_CFLAGS_YACC	= -Wno-unused -Wno-parentheses
Than Ngo e15ff8
@@ -27,12 +27,12 @@ TMAKE_CXXFLAGS_YACC	= $$TMAKE_CFLAGS_YAC
Than Ngo e15ff8
 
Than Ngo e15ff8
 TMAKE_INCDIR		=
Than Ngo e15ff8
 TMAKE_LIBDIR		=
Than Ngo e15ff8
-TMAKE_INCDIR_X11	= /usr/X11R6/include
Than Ngo e15ff8
-TMAKE_LIBDIR_X11	= /usr/X11R6/lib
Than Ngo e15ff8
-TMAKE_INCDIR_QT		= $(QTDIR)/include
Than Ngo e15ff8
-TMAKE_LIBDIR_QT		= $(QTDIR)/lib
Than Ngo e15ff8
-TMAKE_INCDIR_OPENGL	= /usr/X11R6/include
Than Ngo e15ff8
-TMAKE_LIBDIR_OPENGL	= /usr/X11R6/lib
Than Ngo e15ff8
+TMAKE_INCDIR_X11	=
Than Ngo e15ff8
+TMAKE_LIBDIR_X11	=
Than Ngo e15ff8
+TMAKE_INCDIR_QT		=
Than Ngo e15ff8
+TMAKE_LIBDIR_QT		=
Than Ngo e15ff8
+TMAKE_INCDIR_OPENGL	=
Than Ngo e15ff8
+TMAKE_LIBDIR_OPENGL	=
Than Ngo e15ff8
 
Than Ngo e15ff8
 TMAKE_LINK		= g++
Than Ngo e15ff8
 TMAKE_LINK_SHLIB	= g++