pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/sane-backends/patches Fix mustek_ubs2 support...
details: https://anonhg.NetBSD.org/pkgsrc/rev/41b79f7beefa
branches: trunk
changeset: 506127:41b79f7beefa
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Jan 12 13:08:21 2006 +0000
description:
Fix mustek_ubs2 support for DragonFly by fixing pthread detection,
left-over from last commit.
diffstat:
graphics/sane-backends/patches/patch-ab | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diffs (34 lines):
diff -r 3533bf8d45a6 -r 41b79f7beefa graphics/sane-backends/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/sane-backends/patches/patch-ab Thu Jan 12 13:08:21 2006 +0000
@@ -0,0 +1,30 @@
+$NetBSD: patch-ab,v 1.8 2006/01/12 13:08:21 joerg Exp $
+
+--- configure.orig 2006-01-12 00:55:20.000000000 +0000
++++ configure
+@@ -6145,13 +6145,13 @@ if test `eval echo '${'$as_ac_Header'}'`
+ _ACEOF
+
+
+-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_LDFLAGS} ${PTHREAD_LIBS}" >&5
++echo $ECHO_N "checking for pthread_create in ${PTHREAD_LDFLAGS} ${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_LDFLAGS} ${PTHREAD_LIBS} $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -6213,7 +6213,7 @@ if test $ac_cv_lib_pthread_pthread_creat
+ #define HAVE_LIBPTHREAD 1
+ _ACEOF
+
+- LIBS="-lpthread $LIBS"
++ LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $LIBS"
+
+ fi
+
Home |
Main Index |
Thread Index |
Old Index