pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/py-ORBit Linking against libpython needs to link a...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9f7b9c4055d6
branches: trunk
changeset: 516098:9f7b9c4055d6
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Jul 14 06:29:02 2006 +0000
description:
Linking against libpython needs to link against pthread on some platforms
to work.
diffstat:
net/py-ORBit/distinfo | 3 ++-
net/py-ORBit/patches/patch-aa | 22 ++++++++++++++++++++++
2 files changed, 24 insertions(+), 1 deletions(-)
diffs (37 lines):
diff -r 434205f1356a -r 9f7b9c4055d6 net/py-ORBit/distinfo
--- a/net/py-ORBit/distinfo Fri Jul 14 04:54:58 2006 +0000
+++ b/net/py-ORBit/distinfo Fri Jul 14 06:29:02 2006 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.7 2006/07/07 18:37:41 drochner Exp $
+$NetBSD: distinfo,v 1.8 2006/07/14 06:29:02 joerg Exp $
SHA1 (pyorbit-2.14.1.tar.bz2) = b3c23f2a130ec6873a4750701619d96a4efff29d
RMD160 (pyorbit-2.14.1.tar.bz2) = 1551c48156b18d34c639e83e1e745f354a1df6a8
Size (pyorbit-2.14.1.tar.bz2) = 282603 bytes
+SHA1 (patch-aa) = 4fe020fe2f9cff188e72999a13e8edd40a521d45
diff -r 434205f1356a -r 9f7b9c4055d6 net/py-ORBit/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-ORBit/patches/patch-aa Fri Jul 14 06:29:02 2006 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1 2006/07/14 06:29:02 joerg Exp $
+
+--- configure.orig 2006-07-14 06:15:42.000000000 +0000
++++ configure
+@@ -18891,7 +18891,7 @@ if egrep "^#define Py_ENABLE_SHARED" "${
+ PYTHON_LDFLAGS="-no-undefined"
+ save_LIBS="$LIBS"
+
+- PYTHON_LIBS="-L${py_prefix}/lib/ -lpython${PYTHON_VERSION}"
++ PYTHON_LIBS="-L${py_prefix}/lib/ -lpython${PYTHON_VERSION} ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
+ LIBS="$LIBS $PYTHON_LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+@@ -18944,7 +18944,7 @@ else
+ sed 's/^/| /' conftest.$ac_ext >&5
+
+
+- PYTHON_LIBS="-L${py_prefix}/lib/python${PYTHON_VERSION}/config -lpython${PYTHON_VERSION}"
++ PYTHON_LIBS="-L${py_prefix}/lib/python${PYTHON_VERSION}/config -lpython${PYTHON_VERSION} ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
+ LIBS="$save_LIBS $PYTHON_LIBS";
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
Home |
Main Index |
Thread Index |
Old Index