summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-06-29 22:55:50 +0000
committerjoerg <joerg@pkgsrc.org>2007-06-29 22:55:50 +0000
commit50efbc79de5a262d3f2cfa736e81632bb8b7cfb8 (patch)
tree24bbcc440f5464c0d3834fda8d21543c89d134ec /www
parentd8cb0bbc05a0cf508e0d7a9c63be15adf1228d21 (diff)
downloadpkgsrc-50efbc79de5a262d3f2cfa736e81632bb8b7cfb8.tar.gz
Fix pthread linkage for aprutil-0 link test and pthread_setspecific.
Diffstat (limited to 'www')
-rw-r--r--www/ap2-xslt2/distinfo3
-rw-r--r--www/ap2-xslt2/patches/patch-af39
2 files changed, 41 insertions, 1 deletions
diff --git a/www/ap2-xslt2/distinfo b/www/ap2-xslt2/distinfo
index 604eb4f6017..21c6344130d 100644
--- a/www/ap2-xslt2/distinfo
+++ b/www/ap2-xslt2/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/12/07 02:34:01 xtraeme Exp $
+$NetBSD: distinfo,v 1.2 2007/06/29 22:55:50 joerg Exp $
SHA1 (modxslt-2004112100.tar.gz) = a9b4d43695f2f0ac7baa42063a2abb2d0aa6f774
RMD160 (modxslt-2004112100.tar.gz) = 0fcbc99d22632f3a7535bd19eae0466a729828a8
@@ -8,3 +8,4 @@ SHA1 (patch-ab) = 326350cd9db151315e0ba8143ffb90d5dd9a78fc
SHA1 (patch-ac) = 4f9d75ef323d585bf8b72142bee0b7be17ca706c
SHA1 (patch-ad) = f7e5ce7c710822eaae27e1295ecfcf2b813e3f25
SHA1 (patch-ae) = 986bf5dfd9116991d27c56b67838d094a641f38f
+SHA1 (patch-af) = df00ce0a96c8aca2b188aa56e5817e2376dd3f29
diff --git a/www/ap2-xslt2/patches/patch-af b/www/ap2-xslt2/patches/patch-af
new file mode 100644
index 00000000000..ad5d0c071f5
--- /dev/null
+++ b/www/ap2-xslt2/patches/patch-af
@@ -0,0 +1,39 @@
+$NetBSD: patch-af,v 1.1 2007/06/29 22:55:50 joerg Exp $
+
+--- configure.orig 2004-11-21 01:12:28.000000000 +0000
++++ configure
+@@ -22911,7 +22911,7 @@ if test "${ac_cv_lib_aprutil_0_apr_briga
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-laprutil-0 `$APUC --link-ld` `$APUC --libs` `$APRC --link-ld` $LIBS"
++LIBS="-laprutil-0 `$APUC --link-ld` `$APUC --libs` `$APRC --link-ld` ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -23215,13 +23215,13 @@ echo "$as_me: error: could not find pthr
+ fi
+
+
+- echo "$as_me:$LINENO: checking for pthread_setspecific in -lpthread" >&5
+-echo $ECHO_N "checking for pthread_setspecific in -lpthread... $ECHO_C" >&6
++ echo "$as_me:$LINENO: checking for pthread_setspecific in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}" >&5
++echo $ECHO_N "checking for pthread_setspecific in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}... $ECHO_C" >&6
+ if test "${ac_cv_lib_pthread_pthread_setspecific+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lpthread $LIBS"
++LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -23280,7 +23280,7 @@ echo "$as_me:$LINENO: result: $ac_cv_lib
+ echo "${ECHO_T}$ac_cv_lib_pthread_pthread_setspecific" >&6
+ if test $ac_cv_lib_pthread_pthread_setspecific = yes; then
+
+- LIBS="$LIBS -lpthread"
++ LIBS="$LIBS ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
+ CFLAGS="$CFLAGS -D_REENTRANT"
+
+ cat >>confdefs.h <<\_ACEOF