Blame doxygen-1.8.5-config.patch

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