aboutsummaryrefslogtreecommitdiffstats
path: root/security/stunnel
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-11-01 09:33:43 +0800
committersteve <steve@FreeBSD.org>1999-11-01 09:33:43 +0800
commit34240856c4b49448f1a7d9c3e9beb6d940c4e40d (patch)
tree5aa9a9f73d44a7780c174993ad4c282a8a9e8bbe /security/stunnel
parent2426298e49054016ea5d68cac6d6dd4f3de651d3 (diff)
downloadfreebsd-ports-gnome-34240856c4b49448f1a7d9c3e9beb6d940c4e40d.tar.gz
freebsd-ports-gnome-34240856c4b49448f1a7d9c3e9beb6d940c4e40d.tar.zst
freebsd-ports-gnome-34240856c4b49448f1a7d9c3e9beb6d940c4e40d.zip
Teach this port's configure script that phtread_create can be found in
-lc_r. PR: 13700 Submitted by: Mario Sergio Fujikawa Ferreira <lioux@gns.com.br>
Diffstat (limited to 'security/stunnel')
-rw-r--r--security/stunnel/files/patch-ac37
1 files changed, 37 insertions, 0 deletions
diff --git a/security/stunnel/files/patch-ac b/security/stunnel/files/patch-ac
new file mode 100644
index 000000000000..fbf70ab9dc15
--- /dev/null
+++ b/security/stunnel/files/patch-ac
@@ -0,0 +1,37 @@
+--- configure.orig Tue Jul 13 10:35:02 1999
++++ configure Sat Sep 11 18:25:14 1999
+@@ -932,14 +932,14 @@
+ echo "$ac_t""no" 1>&6
+ fi
+
+-echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
+-echo "configure:937: checking for pthread_create in -lpthread" >&5
+-ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
++echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
++echo "configure:937: checking for pthread_create in -lc_r" >&5
++ac_lib_var=`echo c_r'_'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="-lc_r $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 945 "configure"
+ #include "confdefs.h"
+@@ -967,13 +967,13 @@
+ fi
+ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+- ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/[^a-zA-Z0-9_]/_/g' \
++ ac_tr_lib=HAVE_LIB`echo c_r | sed -e 's/[^a-zA-Z0-9_]/_/g' \
+ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
+ cat >> confdefs.h <<EOF
+ #define $ac_tr_lib 1
+ EOF
+
+- LIBS="-lpthread $LIBS"
++ LIBS="-lc_r $LIBS"
+
+ else
+ echo "$ac_t""no" 1>&6