aboutsummaryrefslogtreecommitdiff
path: root/audio/csound
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-09-24 08:08:56 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-09-24 08:08:56 +0000
commitbe914b2227d034cbf5d358459e9834813c5df880 (patch)
treed2307b04adee20b1d8710c1e8c9b182c052933d5 /audio/csound
parentbeb11917f36a71b6d9357f5e6ac359e7b1e255c2 (diff)
downloadports-be914b2227d034cbf5d358459e9834813c5df880.tar.gz
ports-be914b2227d034cbf5d358459e9834813c5df880.zip
Notes
Diffstat (limited to 'audio/csound')
-rw-r--r--audio/csound/scripts/check-fltk-threads.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/audio/csound/scripts/check-fltk-threads.sh b/audio/csound/scripts/check-fltk-threads.sh
new file mode 100644
index 000000000000..5168db9e1bea
--- /dev/null
+++ b/audio/csound/scripts/check-fltk-threads.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+if [ -z "$(fltk-config --ldflags | grep pthread)" ]; then
+ echo "FLTK does not have threading support enabled.e"
+ echo "Please remove the x11-toolkits/fltk port first and recompile csound again"
+ echo "The csound port will automatically install the x11-toolkits/fltk-threads port."
+ exit 1
+else
+ exit 0
+fi