summaryrefslogtreecommitdiff
path: root/math/qalculate-kde/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2006-05-07 13:51:20 +0000
committerjoerg <joerg>2006-05-07 13:51:20 +0000
commit829def7ca8d3e28691eddc613135318628511eca (patch)
treeb8de87e4a5c9e922e78b79b391a94b575674322d /math/qalculate-kde/patches
parente480f9101354b940c25b8fc9b029ab3df93ca271 (diff)
downloadpkgsrc-829def7ca8d3e28691eddc613135318628511eca.tar.gz
Uses libtool and C++, patch away
Diffstat (limited to 'math/qalculate-kde/patches')
-rw-r--r--math/qalculate-kde/patches/patch-ab56
1 files changed, 56 insertions, 0 deletions
diff --git a/math/qalculate-kde/patches/patch-ab b/math/qalculate-kde/patches/patch-ab
new file mode 100644
index 00000000000..d3d6b15d75c
--- /dev/null
+++ b/math/qalculate-kde/patches/patch-ab
@@ -0,0 +1,56 @@
+$NetBSD: patch-ab,v 1.1 2006/05/07 13:51:20 joerg Exp $
+
+--- configure.orig 2006-05-07 13:22:42.000000000 +0000
++++ configure
+@@ -27325,13 +27325,13 @@ fi
+ fi
+
+ if test -z "$LIBPTHREAD"; then
+- 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
+@@ -27390,7 +27390,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
+- LIBPTHREAD="-lpthread"
++ LIBPTHREAD="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
+ fi
+
+ fi
+@@ -31113,13 +31113,13 @@ _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
+@@ -31178,7 +31178,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
+
+