diff options
author | joerg <joerg@pkgsrc.org> | 2006-07-14 06:29:02 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-07-14 06:29:02 +0000 |
commit | 60896cf0bce274a4160793a655d720e9f01a962d (patch) | |
tree | 0332426193230e82c56c96e083f10ef449c8d1b8 /net | |
parent | d1dfbed4e5c799a749c460757997632b066d7e50 (diff) | |
download | pkgsrc-60896cf0bce274a4160793a655d720e9f01a962d.tar.gz |
Linking against libpython needs to link against pthread on some platforms
to work.
Diffstat (limited to 'net')
-rw-r--r-- | net/py-ORBit/distinfo | 3 | ||||
-rw-r--r-- | net/py-ORBit/patches/patch-aa | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/net/py-ORBit/distinfo b/net/py-ORBit/distinfo index 228889c4c38..25a6cd4e8bc 100644 --- a/net/py-ORBit/distinfo +++ b/net/py-ORBit/distinfo @@ -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 --git a/net/py-ORBit/patches/patch-aa b/net/py-ORBit/patches/patch-aa new file mode 100644 index 00000000000..7babea55ba0 --- /dev/null +++ b/net/py-ORBit/patches/patch-aa @@ -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. */ |