summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-04-17 21:32:06 +0000
committerjoerg <joerg@pkgsrc.org>2007-04-17 21:32:06 +0000
commitbcbf5b87bbbc0bdf089ccff3b760b8783acb8586 (patch)
treee32c19c59d7eaed2718fd529d5f4649c750c64cc /x11
parentadcb48f43a0cdb3bffa6b7764db2ce9f1e7301e2 (diff)
downloadpkgsrc-bcbf5b87bbbc0bdf089ccff3b760b8783acb8586.tar.gz
Reapply pthread fix.
Diffstat (limited to 'x11')
-rw-r--r--x11/fox/distinfo3
-rw-r--r--x11/fox/patches/patch-aa30
2 files changed, 32 insertions, 1 deletions
diff --git a/x11/fox/distinfo b/x11/fox/distinfo
index df9c8035666..eb383f8185b 100644
--- a/x11/fox/distinfo
+++ b/x11/fox/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.14 2007/04/13 05:45:36 xtraeme Exp $
+$NetBSD: distinfo,v 1.15 2007/04/17 21:32:06 joerg Exp $
SHA1 (fox-1.6.25.tar.gz) = 1811e838cdccb66c259bc94377f9d1097a307bff
RMD160 (fox-1.6.25.tar.gz) = 41951a19e46cdb5a7989cd9ba2a2745552e098d5
Size (fox-1.6.25.tar.gz) = 4193062 bytes
+SHA1 (patch-aa) = 1221a97f498a0df9ed35cb5eda8c879a98aff798
diff --git a/x11/fox/patches/patch-aa b/x11/fox/patches/patch-aa
new file mode 100644
index 00000000000..f4f6597f273
--- /dev/null
+++ b/x11/fox/patches/patch-aa
@@ -0,0 +1,30 @@
+$NetBSD: patch-aa,v 1.7 2007/04/17 21:32:06 joerg Exp $
+
+--- configure.orig 2007-03-08 13:05:01.000000000 +0000
++++ configure
+@@ -22302,13 +22302,13 @@ fi
+
+ PTHREAD_LIBS=notfound
+ if test "x$PTHREAD_LIBS" = xnotfound; then
+-echo "$as_me:$LINENO: checking for pthread_exit in -lpthread" >&5
+-echo $ECHO_N "checking for pthread_exit in -lpthread... $ECHO_C" >&6
++echo "$as_me:$LINENO: checking for pthread_exit in ${PTHREAD_LDFLAGS} ${REAL_PTHREAD_LIBS}" >&5
++echo $ECHO_N "checking for pthread_exit in ${PTHREAD_LDFLAGS} ${REAL_PTHREAD_LIBS}... $ECHO_C" >&6
+ if test "${ac_cv_lib_pthread_pthread_exit+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lpthread $LIBS"
++LIBS="${PTHREAD_LDFLAGS} ${REAL_PTHREAD_LIBS} $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -22367,7 +22367,7 @@ fi
+ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_exit" >&5
+ echo "${ECHO_T}$ac_cv_lib_pthread_pthread_exit" >&6
+ if test $ac_cv_lib_pthread_pthread_exit = yes; then
+- PTHREAD_LIBS="-lpthread"
++ PTHREAD_LIBS="${PTHREAD_LDFLAGS} ${REAL_PTHREAD_LIBS}"
+ fi
+
+ fi