pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/kannel Use PTHREAD_* instead of -lpthread.
details: https://anonhg.NetBSD.org/pkgsrc/rev/27464a13e267
branches: trunk
changeset: 506013:27464a13e267
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Jan 10 18:33:16 2006 +0000
description:
Use PTHREAD_* instead of -lpthread.
diffstat:
www/kannel/distinfo | 3 ++-
www/kannel/patches/patch-ac | 31 +++++++++++++++++++++++++++++++
2 files changed, 33 insertions(+), 1 deletions(-)
diffs (48 lines):
diff -r d55f75b1456f -r 27464a13e267 www/kannel/distinfo
--- a/www/kannel/distinfo Tue Jan 10 18:30:16 2006 +0000
+++ b/www/kannel/distinfo Tue Jan 10 18:33:16 2006 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.8 2005/02/24 14:08:32 wiz Exp $
+$NetBSD: distinfo,v 1.9 2006/01/10 18:33:16 joerg Exp $
SHA1 (gateway-1.4.0.tar.bz2) = 095de9f42541d74cff30bba898383c84fcc629c3
RMD160 (gateway-1.4.0.tar.bz2) = f38cffdc43574d706acad5f2d60f80f70512312d
Size (gateway-1.4.0.tar.bz2) = 2132627 bytes
SHA1 (patch-aa) = b629c1460039c47baba017c107baf4199a517341
SHA1 (patch-ab) = 87aed599d51f03f57bb1ddb058afe34f18802d23
+SHA1 (patch-ac) = 62def56946395a1fe7106c6f1f5d0e12e415f60a
diff -r d55f75b1456f -r 27464a13e267 www/kannel/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/kannel/patches/patch-ac Tue Jan 10 18:33:16 2006 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-ac,v 1.5 2006/01/10 18:33:16 joerg Exp $
+
+--- configure.orig 2006-01-10 18:25:12.000000000 +0000
++++ configure
+@@ -1703,14 +1703,14 @@ else
+ fi
+
+ if test -z "$pthread"; then
+- echo $ac_n "checking for pthread_exit in -lpthread""... $ac_c" 1>&6
+-echo "configure:1708: checking for pthread_exit in -lpthread" >&5
++ echo $ac_n "checking for pthread_exit in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}""... $ac_c" 1>&6
++echo "configure:1708: checking for pthread_exit in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}" >&5
+ ac_lib_var=`echo pthread'_'pthread_exit | 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 1716 "configure"
+ #include "confdefs.h"
+@@ -1738,7 +1738,7 @@ LIBS="$ac_save_LIBS"
+ fi
+ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+- LIBS="$LIBS -lpthread"
++ LIBS="$LIBS ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
+ else
+ echo "$ac_t""no" 1>&6
+ fi
Home |
Main Index |
Thread Index |
Old Index