summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-02-18 14:25:03 +0000
committerjoerg <joerg@pkgsrc.org>2006-02-18 14:25:03 +0000
commitee597609957169ee3609461c61e10d2af2f8e1b8 (patch)
tree9f7fbf23b8a042011c93e779904480ea34977e7f /x11
parentc1fb3b7795df3dd852b0e42370f88472586ca2a5 (diff)
downloadpkgsrc-ee597609957169ee3609461c61e10d2af2f8e1b8.tar.gz
Don't use hard-coded -lpthread for pthread detection, but PTHREAD_*.
Ride on last revision bump.
Diffstat (limited to 'x11')
-rw-r--r--x11/efltk/distinfo3
-rw-r--r--x11/efltk/patches/patch-ah30
2 files changed, 32 insertions, 1 deletions
diff --git a/x11/efltk/distinfo b/x11/efltk/distinfo
index 387a6e3a85a..2352885ad94 100644
--- a/x11/efltk/distinfo
+++ b/x11/efltk/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2006/02/18 14:07:54 joerg Exp $
+$NetBSD: distinfo,v 1.4 2006/02/18 14:25:03 joerg Exp $
SHA1 (efltk-2.0.5.tar.bz2) = 26f7124b384d0bfe3d28a73cbdf0111432b08d99
RMD160 (efltk-2.0.5.tar.bz2) = 7efa711d0df8a01ee402e1866286265d294778e8
@@ -10,3 +10,4 @@ SHA1 (patch-ad) = 41911884bc0eaa6a4de869b90d62c9ee27d1908b
SHA1 (patch-ae) = db02f224887f6d0e55334310ad0a3f09da6499b8
SHA1 (patch-af) = 2fe44ea57e0579dcfa43ba597e52161c70f67efd
SHA1 (patch-ag) = 29799b2b0aeffbca82dbc98cb1e06eb62a7e595a
+SHA1 (patch-ah) = d08c03978e902e6cb8fbc6523be5b260b3c8eb63
diff --git a/x11/efltk/patches/patch-ah b/x11/efltk/patches/patch-ah
new file mode 100644
index 00000000000..934e7339fc6
--- /dev/null
+++ b/x11/efltk/patches/patch-ah
@@ -0,0 +1,30 @@
+$NetBSD: patch-ah,v 1.1 2006/02/18 14:25:03 joerg Exp $
+
+--- configure.orig 2006-02-18 14:10:57.000000000 +0000
++++ configure
+@@ -8295,13 +8295,13 @@ if test $ac_cv_lib_c_pthread_create = ye
+ \
+ have_pthread=yes
+ else
+- echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
+-echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
++ echo "$as_me:$LINENO: checking for pthread_create in ${PTHREAD_LDADD} ${PTHREAD_LIBS}" >&5
++echo $ECHO_N "checking for pthread_create in ${PTHREAD_LDADD} ${PTHREAD_LIBS}... $ECHO_C" >&6
+ if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lpthread $LIBS"
++LIBS="${PTHREAD_LDADD} ${PTHREAD_LIBS} $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -8361,7 +8361,7 @@ echo "$as_me:$LINENO: result: $ac_cv_lib
+ echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
+ if test $ac_cv_lib_pthread_pthread_create = yes; then
+ \
+- THREADSLIBS=-lpthread have_pthread=yes
++ THREADSLIBS="${PTHREAD_LDADD} ${PTHREAD_LIBS}" have_pthread=yes
+ fi
+
+ fi