diff options
Diffstat (limited to 'math/qalculate/patches/patch-ab')
-rw-r--r-- | math/qalculate/patches/patch-ab | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/math/qalculate/patches/patch-ab b/math/qalculate/patches/patch-ab index afb76040cb9..0a7a63084e8 100644 --- a/math/qalculate/patches/patch-ab +++ b/math/qalculate/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.3 2005/10/11 12:35:06 adam Exp $ +$NetBSD: patch-ab,v 1.4 2006/01/03 20:54:15 joerg Exp $ --- configure.orig 2005-10-08 22:24:33.000000000 +0000 +++ configure @@ -15,3 +15,29 @@ $NetBSD: patch-ab,v 1.3 2005/10/11 12:35:06 adam Exp $ ;; esac fi +@@ -21215,13 +21213,13 @@ QALCULATE_AGE=0 + + + +-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 +@@ -21280,7 +21278,7 @@ fi + echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 + echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6 + if test $ac_cv_lib_pthread_pthread_create = yes; then +- LIBS="$LIBS -lpthread" ++ LIBS="$LIBS ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}" + fi + + |