summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-06-22 00:14:39 +0000
committerjoerg <joerg@pkgsrc.org>2006-06-22 00:14:39 +0000
commit8c376e6f8541206e23e956ad25c43d341b49b0b6 (patch)
tree4f7b0dec9fda0f2f212fa005ad191f45f570cf58 /x11
parent348be7a8d76e9537c6f3d4da893937e3d0b1308f (diff)
downloadpkgsrc-8c376e6f8541206e23e956ad25c43d341b49b0b6.tar.gz
Fix Python detection.
Diffstat (limited to 'x11')
-rw-r--r--x11/py-gnome2/distinfo3
-rw-r--r--x11/py-gnome2/patches/patch-aa13
2 files changed, 15 insertions, 1 deletions
diff --git a/x11/py-gnome2/distinfo b/x11/py-gnome2/distinfo
index 6f9bf27d072..433cfebff4a 100644
--- a/x11/py-gnome2/distinfo
+++ b/x11/py-gnome2/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.8 2006/04/06 16:05:26 drochner Exp $
+$NetBSD: distinfo,v 1.9 2006/06/22 00:14:39 joerg Exp $
SHA1 (gnome-python-2.12.4.tar.bz2) = 1a882ec8f314d458c4c115403e9e19521e135629
RMD160 (gnome-python-2.12.4.tar.bz2) = cb2d2f27d82ecea6746169ab0976363131e110fe
Size (gnome-python-2.12.4.tar.bz2) = 377341 bytes
+SHA1 (patch-aa) = efb2ca2b895f3023e5e60fb42cf6f460f6fce775
diff --git a/x11/py-gnome2/patches/patch-aa b/x11/py-gnome2/patches/patch-aa
new file mode 100644
index 00000000000..d8ad872e71b
--- /dev/null
+++ b/x11/py-gnome2/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2006/06/22 00:14:39 joerg Exp $
+
+--- configure.orig 2006-06-22 00:11:20.000000000 +0000
++++ configure
+@@ -21329,7 +21329,7 @@ if $build_pyvfsmodule; then
+ echo "$as_me:$LINENO: checking for libraries required to embed python" >&5
+ echo $ECHO_N "checking for libraries required to embed python... $ECHO_C" >&6
+ py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
+-PYTHON_LIBS="-L${py_prefix}/lib -lpython${PYTHON_VERSION}"
++PYTHON_LIBS="-L${py_prefix}/lib -lpython${PYTHON_VERSION} ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
+
+ save_LIBS="$LIBS"
+ LIBS="$LIBS $PYTHON_LIBS"