summaryrefslogtreecommitdiff
path: root/net/nprobe/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-05-12 09:19:54 +0000
committerjoerg <joerg@pkgsrc.org>2006-05-12 09:19:54 +0000
commit05367ea72fdf0d89189c774d1275b719e6258bc7 (patch)
tree215c8395048e221217ae7212cead43885669c99b /net/nprobe/patches
parentcbb48755bf593b357ede6c1e85500485445ff33d (diff)
downloadpkgsrc-05367ea72fdf0d89189c774d1275b719e6258bc7.tar.gz
Correct pthread detection in configure. Has libtool, so annotate that.
Update source checksum, I have no idea what changed, but even ftp.netbsd.org doesn't have the old version around. Remove the interactive fetch, since it is normal GPL code and can be fetched directly. Bump revision due to unclear status.
Diffstat (limited to 'net/nprobe/patches')
-rw-r--r--net/nprobe/patches/patch-aa31
1 files changed, 31 insertions, 0 deletions
diff --git a/net/nprobe/patches/patch-aa b/net/nprobe/patches/patch-aa
new file mode 100644
index 00000000000..faed23d2ac7
--- /dev/null
+++ b/net/nprobe/patches/patch-aa
@@ -0,0 +1,31 @@
+$NetBSD: patch-aa,v 1.1 2006/05/12 09:19:54 joerg Exp $
+
+--- configure.orig 2006-05-12 09:05:13.000000000 +0000
++++ configure
+@@ -3754,14 +3754,14 @@ EOF
+ ;;
+ esac
+
+-echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
+-echo "configure:3759: checking for pthread_create in -lpthread" >&5
++echo $ac_n "checking for pthread_create in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}""... $ac_c" 1>&6
++echo "configure:3759: checking for pthread_create in ${PTHREAD_LDFLAGS} ${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_LDFLAGS} ${PTHREAD_LIBS} $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 3767 "configure"
+ #include "confdefs.h"
+@@ -3795,7 +3795,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_l
+ #define $ac_tr_lib 1
+ EOF
+
+- LIBS="-lpthread $LIBS"
++ LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $LIBS"
+
+ else
+ echo "$ac_t""no" 1>&6