Fix Qt path

epel8
Ding-Yi Chen 17 years ago
parent cb285d07f3
commit a4966eed70

@ -371,7 +371,7 @@ diff -up ./FAQ.html.orig ./FAQ.html
diff -up ./svm-predict.c.orig ./svm-predict.c diff -up ./svm-predict.c.orig ./svm-predict.c
diff -up ./svm-toy/qt/Makefile.orig ./svm-toy/qt/Makefile diff -up ./svm-toy/qt/Makefile.orig ./svm-toy/qt/Makefile
--- ./svm-toy/qt/Makefile.orig 2007-10-14 16:29:12.000000000 +1000 --- ./svm-toy/qt/Makefile.orig 2007-10-14 16:29:12.000000000 +1000
+++ ./svm-toy/qt/Makefile 2008-04-03 13:32:39.000000000 +1000 +++ ./svm-toy/qt/Makefile 2008-04-03 14:19:47.000000000 +1000
@@ -1,19 +1,48 @@ @@ -1,19 +1,48 @@
CXX? = g++ CXX? = g++
-CFLAGS = -Wall -O3 -DQT_THREAD_SUPPORT -CFLAGS = -Wall -O3 -DQT_THREAD_SUPPORT
@ -427,8 +427,8 @@ diff -up ./svm-toy/qt/Makefile.orig ./svm-toy/qt/Makefile
+svm-toy.new.cpp: svm-toy.cpp +svm-toy.new.cpp: svm-toy.cpp
+# echo "QTDIR=${QTDIR}" +# echo "QTDIR=${QTDIR}"
+ cp svm-toy.cpp svm-toy.new.cpp + cp svm-toy.cpp svm-toy.new.cpp
+ifdef QT4_DIR
+ echo "QT3_TO_4=${QT3_TO_4}" + echo "QT3_TO_4=${QT3_TO_4}"
+ifdef QT3_To_4
+ ${QT3_TO_4} -alwaysOverwrite svm-toy.new.cpp + ${QT3_TO_4} -alwaysOverwrite svm-toy.new.cpp
+endif +endif
+ +

@ -1,6 +1,6 @@
Name: libsvm Name: libsvm
Version: 2.86 Version: 2.86
Release: 8%{?dist} Release: 9%{?dist}
Summary: A Library for Support Vector Machines Summary: A Library for Support Vector Machines
Group: Development/Libraries Group: Development/Libraries
@ -203,7 +203,7 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Thu Mar 13 2008 Ding-Yi Chen <dchen@redhat.com> - 2.86-8 * Thu Mar 13 2008 Ding-Yi Chen <dchen@redhat.com> - 2.86-9
- Fix the Qt path problem - Fix the Qt path problem
* Wed Mar 12 2008 Ding-Yi Chen <dchen@redhat.com> - 2.86-4 * Wed Mar 12 2008 Ding-Yi Chen <dchen@redhat.com> - 2.86-4

Loading…
Cancel
Save