summaryrefslogtreecommitdiff
path: root/audio/cheesetracker/files/patch-detect.py
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-08-20 15:45:55 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-08-20 15:45:55 +0000
commit5d6190bb0dca8eb14cbe7906e7ffa57a2003ebab (patch)
treefe604dadcb437bfd3705608d266c35851f09ffef /audio/cheesetracker/files/patch-detect.py
parentdarknocK detects edges in images, better than any other program. It will be (diff)
- Update to 0.9.15.1
PR: 115389 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Notes
Notes: svn path=/head/; revision=197970
Diffstat (limited to 'audio/cheesetracker/files/patch-detect.py')
-rw-r--r--audio/cheesetracker/files/patch-detect.py54
1 files changed, 29 insertions, 25 deletions
diff --git a/audio/cheesetracker/files/patch-detect.py b/audio/cheesetracker/files/patch-detect.py
index 3c498ed45175..5663e472e51d 100644
--- a/audio/cheesetracker/files/patch-detect.py
+++ b/audio/cheesetracker/files/patch-detect.py
@@ -1,6 +1,6 @@
---- detect.py.orig Fri Apr 23 05:21:08 2004
-+++ detect.py Wed Mar 28 22:49:07 2007
-@@ -49,35 +49,11 @@
+--- detect.py.orig Mon Aug 6 21:04:11 2007
++++ detect.py Mon Aug 20 16:41:41 2007
+@@ -104,35 +104,11 @@
def check_libdl(libdata):
@@ -38,9 +38,29 @@
- return 1;
+ return 0;
- def check_alsa(libdata):
-
-@@ -148,6 +124,7 @@
+ def check_need_gmp(libdata):
+ print "Checking if GMP is needed...",
+@@ -152,7 +128,9 @@
+ print "Checking if GMP is available...",
+ res = check_cpp_compile(
+ "#include <gmp.h>\n" +
+- "int main() {return 0;}\n", "-lgmp");
++ "int main() {\n" +
++ " return 0;\n" +
++ "}\n", "-I%%LOCALBASE%%/include -L%%LOCALBASE%%/lib -lgmp");
+ if(res == 0):
+ print "No."
+ print "\n\n**** CANNOT FIND GMP LIBRARY ****\n\n";
+@@ -213,7 +191,7 @@
+ "int main() {\n" +
+ " afNewFileSetup();\n" +
+ " return 0;\n" +
+- "}\n", "-laudiofile -lm");
++ "}\n", "-I%%LOCALBASE%%/include -L%%LOCALBASE%%/lib -laudiofile -lm");
+ if(res == 0):
+ print " no. Access to lots of file formats is lost.";
+ libdata.have_libaudiofile=0;
+@@ -401,6 +379,7 @@
#list of dirs I can test..
qt_unix_library_dirs = [\
@@ -48,7 +68,7 @@
"",\
"/usr/lib",\
"/usr/X11R6/lib",\
-@@ -158,6 +135,7 @@
+@@ -411,6 +390,7 @@
];
qt_unix_bin_dirs = [\
@@ -56,7 +76,7 @@
"",\
"/usr/bin",\
"/usr/X11R6/bin",\
-@@ -168,6 +146,7 @@
+@@ -421,6 +401,7 @@
];
qt_unix_include_dirs = [\
@@ -64,7 +84,7 @@
"/usr/include",\
"/usr/include/qt3",\
"/usr/X11R6/include",\
-@@ -271,7 +250,10 @@
+@@ -524,7 +505,10 @@
print "Looking for QT 3.x 'moc' Binary:";
@@ -76,19 +96,3 @@
for x in qt_unix_bin_dirs:
if (not qt_lib_found):
-@@ -299,7 +281,6 @@
- libdata.moc_bin=command;
- break;
-
--
- if (not qt_found):
- print("I Couldnt find QT in your system :(\n");
- print("If you think it is actually installed, you could try the following:\n");
-@@ -312,7 +293,6 @@
- else:
- print("QT was found!\n");
- return 0;
--
-
-
- def check_system(libdata):