summaryrefslogtreecommitdiff
path: root/www/kannel
diff options
context:
space:
mode:
Diffstat (limited to 'www/kannel')
-rw-r--r--www/kannel/distinfo3
-rw-r--r--www/kannel/patches/patch-ac31
2 files changed, 33 insertions, 1 deletions
diff --git a/www/kannel/distinfo b/www/kannel/distinfo
index dcc54bccf8a..9673c1b4bb4 100644
--- a/www/kannel/distinfo
+++ b/www/kannel/distinfo
@@ -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 --git a/www/kannel/patches/patch-ac b/www/kannel/patches/patch-ac
new file mode 100644
index 00000000000..4cd9c720be3
--- /dev/null
+++ b/www/kannel/patches/patch-ac
@@ -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