aboutsummaryrefslogtreecommitdiff
path: root/audio/x11amp/files/patch-configure
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-12-11 09:48:19 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-12-11 09:48:19 +0000
commit7a759635db222d8f6ddc7e4aef590b8e96d5f559 (patch)
tree91cdd63226b2ec36668748e9a2107e152ddce1fb /audio/x11amp/files/patch-configure
parent7f86605c5a86a42098d4a511a0e229234101a233 (diff)
downloadports-7a759635db222d8f6ddc7e4aef590b8e96d5f559.tar.gz
ports-7a759635db222d8f6ddc7e4aef590b8e96d5f559.zip
Notes
Diffstat (limited to 'audio/x11amp/files/patch-configure')
-rw-r--r--audio/x11amp/files/patch-configure41
1 files changed, 41 insertions, 0 deletions
diff --git a/audio/x11amp/files/patch-configure b/audio/x11amp/files/patch-configure
new file mode 100644
index 000000000000..844e7d5e6dc7
--- /dev/null
+++ b/audio/x11amp/files/patch-configure
@@ -0,0 +1,41 @@
+
+$FreeBSD$
+
+--- configure.orig Tue Apr 13 23:33:00 1999
++++ configure Mon Nov 26 20:10:50 2001
+@@ -2202,14 +2202,14 @@
+
+ rm -f conf.gtktest
+
+-echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
+-echo "configure:2207: checking for pthread_create in -lpthread" >&5
++echo $ac_n "checking for pthread_create in ${PTHREAD_LIBS}""... $ac_c" 1>&6
++echo "configure:2207: checking for pthread_create in ${PTHREAD_LIBS}" >&5
+ ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-lpthread $LIBS"
++LIBS="${PTHREAD_LIBS} $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 2215 "configure"
+ #include "confdefs.h"
+@@ -2243,7 +2243,7 @@
+ #define $ac_tr_lib 1
+ EOF
+
+- LIBS="-lpthread $LIBS"
++ LIBS="${PTHREAD_LIBS} $LIBS"
+
+ else
+ echo "$ac_t""no" 1>&6
+@@ -2495,7 +2495,7 @@
+ HAVE_ESD_FALSE=
+ fi
+
+-CFLAGS=$GTK_CFLAGS
++CFLAGS="$CFLAGS $GTK_CFLAGS"
+ LIBS=$GTK_LIBS
+
+ echo $ac_n "checking for thread-safe Xlib""... $ac_c" 1>&6