Blame doxygen-1.8.3-config.patch

Than Ngo 4706d4
diff -up doxygen-1.8.3/addon/doxywizard/Makefile.in.config doxygen-1.8.3/addon/doxywizard/Makefile.in
Than Ngo 4706d4
--- doxygen-1.8.3/addon/doxywizard/Makefile.in.config	2012-01-29 16:23:25.000000000 +0100
Than Ngo 4706d4
+++ doxygen-1.8.3/addon/doxywizard/Makefile.in	2013-01-02 16:45:56.206014990 +0100
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 4706d4
diff -up doxygen-1.8.3/configure.config doxygen-1.8.3/configure
Than Ngo 4706d4
--- doxygen-1.8.3/configure.config	2012-12-27 12:24:51.000000000 +0100
Than Ngo 4706d4
+++ doxygen-1.8.3/configure	2013-01-02 16:45:56.206014990 +0100
Than Ngo 4706d4
@@ -280,9 +280,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 f68096
     echo -n "  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 4706d4
@@ -514,6 +515,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 4706d4
diff -up doxygen-1.8.3/Makefile.in.config doxygen-1.8.3/Makefile.in
Than Ngo 4706d4
--- doxygen-1.8.3/Makefile.in.config	2012-12-25 13:17:27.000000000 +0100
Than Ngo 4706d4
+++ doxygen-1.8.3/Makefile.in	2013-01-02 16:50:44.919183628 +0100
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 4706d4
diff -up doxygen-1.8.3/tmake/lib/linux-g++/tmake.conf.config doxygen-1.8.3/tmake/lib/linux-g++/tmake.conf
Than Ngo 4706d4
--- doxygen-1.8.3/tmake/lib/linux-g++/tmake.conf.config	2012-12-22 19:49:04.000000000 +0100
Than Ngo 4706d4
+++ doxygen-1.8.3/tmake/lib/linux-g++/tmake.conf	2013-01-02 16:52:08.828039570 +0100
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++