diff options
author | joerg <joerg@pkgsrc.org> | 2006-01-12 13:08:21 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-01-12 13:08:21 +0000 |
commit | 942439b52ad7220c0ef20a188ea797bc0a4778c5 (patch) | |
tree | 7830f2f8cb452026671b2ecebaad587840d7a570 /graphics/sane-backends | |
parent | c0fc81f666ccd403a5980206b8347da4f48d61b9 (diff) | |
download | pkgsrc-942439b52ad7220c0ef20a188ea797bc0a4778c5.tar.gz |
Fix mustek_ubs2 support for DragonFly by fixing pthread detection,
left-over from last commit.
Diffstat (limited to 'graphics/sane-backends')
-rw-r--r-- | graphics/sane-backends/patches/patch-ab | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/graphics/sane-backends/patches/patch-ab b/graphics/sane-backends/patches/patch-ab new file mode 100644 index 00000000000..a343b416abc --- /dev/null +++ b/graphics/sane-backends/patches/patch-ab @@ -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 + |