diff options
author | drochner <drochner@pkgsrc.org> | 2011-04-15 17:14:52 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2011-04-15 17:14:52 +0000 |
commit | 55110552129edb7489972727322e3cc350dec3f0 (patch) | |
tree | 8156c164fb50cdfcafc85d93e9be56b2c4c7a5a2 /graphics | |
parent | 3c5d6a417d53b8db200311ccb4344e0d4e9c15c7 (diff) | |
download | pkgsrc-55110552129edb7489972727322e3cc350dec3f0.tar.gz |
trim library search path so that the dynamic version of libpython
is found for building the Python plugin module
(I still think that no Python library needs to be linked in for modules,
but I want to keep the change minimal.)
Inspired by an observation by Mark Davies, see the
"python buildlink3.mk and lib/python2.?/config" thread on tech-pkg.
bump PKGREVISION
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/py-goocanvas/Makefile | 4 | ||||
-rw-r--r-- | graphics/py-goocanvas/distinfo | 4 | ||||
-rw-r--r-- | graphics/py-goocanvas/patches/patch-aa | 11 |
3 files changed, 14 insertions, 5 deletions
diff --git a/graphics/py-goocanvas/Makefile b/graphics/py-goocanvas/Makefile index f35211f2ee7..3a362413786 100644 --- a/graphics/py-goocanvas/Makefile +++ b/graphics/py-goocanvas/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.15 2011/02/25 09:47:23 wiz Exp $ +# $NetBSD: Makefile,v 1.16 2011/04/15 17:14:52 drochner Exp $ # DISTNAME= pygoocanvas-0.14.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//} -PKGREVISION= 6 +PKGREVISION= 7 CATEGORIES= graphics python MASTER_SITES= ${MASTER_SITE_GNOME:=sources/pygoocanvas/0.14/} diff --git a/graphics/py-goocanvas/distinfo b/graphics/py-goocanvas/distinfo index fa2c9c4630a..267921af79d 100644 --- a/graphics/py-goocanvas/distinfo +++ b/graphics/py-goocanvas/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.2 2009/05/13 13:00:48 obache Exp $ +$NetBSD: distinfo,v 1.3 2011/04/15 17:14:52 drochner Exp $ SHA1 (pygoocanvas-0.14.1.tar.gz) = ea1e10a24ef15a1d3880552fff6352d8b0621ef5 RMD160 (pygoocanvas-0.14.1.tar.gz) = 162628947fd6a0d630bd20f9dec570c50fab2d23 Size (pygoocanvas-0.14.1.tar.gz) = 421509 bytes -SHA1 (patch-aa) = 1d4c8a0ab32ffb194a08a11d9af5d686c073b0a9 +SHA1 (patch-aa) = 707d6753524c543bd65de0375961b7fd1d842955 diff --git a/graphics/py-goocanvas/patches/patch-aa b/graphics/py-goocanvas/patches/patch-aa index 3d58b77056e..d0c77efc809 100644 --- a/graphics/py-goocanvas/patches/patch-aa +++ b/graphics/py-goocanvas/patches/patch-aa @@ -1,10 +1,19 @@ -$NetBSD: patch-aa,v 1.2 2009/05/13 13:00:48 obache Exp $ +$NetBSD: patch-aa,v 1.3 2011/04/15 17:14:52 drochner Exp $ Portability fix: http://bugzilla.gnome.org/show_bug.cgi?id=582057 --- configure.orig 2009-05-10 08:45:29.000000000 +0000 +++ configure +@@ -13126,7 +13126,7 @@ $as_echo_n "checking for Python library + WIN32_PYTHON_VERSION=`echo $PYTHON_VERSION | sed "s,\.,,"` + + python_path=`dirname $PYTHON | sed "s,/bin.*$,,"` +- for i in "$python_path/lib/python$PYTHON_VERSION/config/" "$python_path/lib/python$PYTHON_VERSION/" "$python_path/lib/python/config/" "$python_path/lib/python/" "$python_path/" ; do ++ for i in "$python_path/lib/" ; do + if test -e "$i"; then + python_path=`find $i -type f -name libpython$PYTHON_VERSION.* -print | sed "1q"` + if test -n "$python_path" ; then @@ -13450,7 +13450,7 @@ fi fi fi |