diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2008-02-13 13:52:36 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2008-02-13 13:52:36 +0000 |
commit | fbd54090bd0ca9ddc7e3bd97a3c656c39a448b66 (patch) | |
tree | 136e6d59fbd8964e03822d6aedd265f36b3d1b73 /sci-libs | |
parent | Add ~amd64 (diff) | |
download | gentoo-2-fbd54090bd0ca9ddc7e3bd97a3c656c39a448b66.tar.gz gentoo-2-fbd54090bd0ca9ddc7e3bd97a3c656c39a448b66.tar.bz2 gentoo-2-fbd54090bd0ca9ddc7e3bd97a3c656c39a448b66.zip |
Fixed compilation of python bindings using shared lib (bug #208220)
(Portage version: 2.1.4.3)
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/geos/ChangeLog | 6 | ||||
-rw-r--r-- | sci-libs/geos/files/geos-2.2.3-python-shared.patch | 11 | ||||
-rw-r--r-- | sci-libs/geos/geos-2.2.3.ebuild | 3 |
3 files changed, 18 insertions, 2 deletions
diff --git a/sci-libs/geos/ChangeLog b/sci-libs/geos/ChangeLog index 648367805265..54c47f46011a 100644 --- a/sci-libs/geos/ChangeLog +++ b/sci-libs/geos/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-libs/geos # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/ChangeLog,v 1.25 2008/01/04 17:03:22 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/ChangeLog,v 1.26 2008/02/13 13:52:35 bicatali Exp $ + + 13 Feb 2008; Sébastien Fabbro <bicatali@gentoo.org> + +files/geos-2.2.3-python-shared.patch, geos-2.2.3.ebuild: + Fixed compilation of python bindings using shared lib (bug #208220) *geos-3.0.0 (04 Jan 2008) diff --git a/sci-libs/geos/files/geos-2.2.3-python-shared.patch b/sci-libs/geos/files/geos-2.2.3-python-shared.patch new file mode 100644 index 000000000000..a97fac78b8c3 --- /dev/null +++ b/sci-libs/geos/files/geos-2.2.3-python-shared.patch @@ -0,0 +1,11 @@ +--- swig/python/setup.py.orig 2008-02-13 10:50:26.530716975 +0000 ++++ swig/python/setup.py 2008-02-13 10:50:03.453401874 +0000 +@@ -31,7 +31,7 @@ + include_dirs = ["../../source/headers", + "../../source/headers/geos"], + libraries = ["stdc++"], +- extra_objects = ["../../source/geom/.libs/libgeos.a"]) ++ extra_objects = ["../../source/geom/.libs/libgeos.so"]) + + # the python module, generated by SWIG from geos.i + pymod = "geos" diff --git a/sci-libs/geos/geos-2.2.3.ebuild b/sci-libs/geos/geos-2.2.3.ebuild index 5e3a0ab9e18d..0624d28d5e34 100644 --- a/sci-libs/geos/geos-2.2.3.ebuild +++ b/sci-libs/geos/geos-2.2.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/geos-2.2.3.ebuild,v 1.4 2008/01/04 17:03:22 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/geos-2.2.3.ebuild,v 1.5 2008/02/13 13:52:35 bicatali Exp $ USE_RUBY="ruby18" RUBY_OPTIONAL="yes" @@ -27,6 +27,7 @@ src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}/${P}-swig.patch" + epatch "${FILESDIR}/${P}-python-shared.patch" } src_compile() { |