From be914b2227d034cbf5d358459e9834813c5df880 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Mon, 24 Sep 2007 08:08:56 +0000 Subject: [PATCH] Add scripts directory with the necessary. Noticed by: YAPHR. --- audio/csound/scripts/check-fltk-threads.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 audio/csound/scripts/check-fltk-threads.sh 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