summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Winston <amynka@gentoo.org>2015-12-05 14:23:38 +0100
committerAmy Winston <amynka@gentoo.org>2015-12-05 14:23:38 +0100
commit7733ecb896d2af618cb4b624240b663844303c01 (patch)
tree21beb092ed0d93875444d208568d537332d433ad /sci-geosciences
parentsci-geosciences/grass: cleaning mess from package removal (diff)
downloadgentoo-7733ecb896d2af618cb4b624240b663844303c01.tar.gz
gentoo-7733ecb896d2af618cb4b624240b663844303c01.tar.bz2
gentoo-7733ecb896d2af618cb4b624240b663844303c01.zip
sci-geosciences/grass: add SONAME patch and revbump.
Adds patch from upstream to build libraries with SONAME per bug 475188. Package-Manager: portage-2.2.20.1
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/grass/files/grass-7.0.2-soname.patch26
-rw-r--r--sci-geosciences/grass/grass-7.0.1-r4.ebuild (renamed from sci-geosciences/grass/grass-7.0.1-r3.ebuild)3
2 files changed, 28 insertions, 1 deletions
diff --git a/sci-geosciences/grass/files/grass-7.0.2-soname.patch b/sci-geosciences/grass/files/grass-7.0.2-soname.patch
new file mode 100644
index 000000000000..3f3442cc309d
--- /dev/null
+++ b/sci-geosciences/grass/files/grass-7.0.2-soname.patch
@@ -0,0 +1,26 @@
+Index: aclocal.m4
+===================================================================
+--- aclocal.m4 (revision 66647)
++++ aclocal.m4 (working copy)
+@@ -488,7 +488,7 @@
+ case $host in
+ *-linux-* | *-gnu* | *-kfreebsd*-gnu)
+ SHLIB_CFLAGS="-fPIC"
+- SHLIB_LD_FLAGS=""
++ SHLIB_LD_FLAGS="-Wl,-soname,\$(notdir \$[@])"
+ SHLIB_SUFFIX=".so"
+ SHLIB_LD="${CC} -shared"
+ LDFLAGS="-Wl,--export-dynamic"
+Index: configure
+===================================================================
+--- configure (revision 66647)
++++ configure (working copy)
+@@ -1481,7 +1481,7 @@
+ case $host in
+ *-linux-* | *-gnu* | *-kfreebsd*-gnu)
+ SHLIB_CFLAGS="-fPIC"
+- SHLIB_LD_FLAGS=""
++ SHLIB_LD_FLAGS="-Wl,-soname,\$(notdir \$@)"
+ SHLIB_SUFFIX=".so"
+ SHLIB_LD="${CC} -shared"
+ LDFLAGS="-Wl,--export-dynamic"
diff --git a/sci-geosciences/grass/grass-7.0.1-r3.ebuild b/sci-geosciences/grass/grass-7.0.1-r4.ebuild
index d1053026dbb6..f13e558668a2 100644
--- a/sci-geosciences/grass/grass-7.0.1-r3.ebuild
+++ b/sci-geosciences/grass/grass-7.0.1-r4.ebuild
@@ -20,7 +20,7 @@ SRC_URI="http://grass.osgeo.org/${MY_PM}/source/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~x86"
IUSE="X blas cxx fftw geos lapack liblas mysql netcdf nls odbc opencl opengl openmp png postgres readline sqlite threads tiff truetype"
RDEPEND="${PYTHON_DEPS}
@@ -84,6 +84,7 @@ PATCHES=(
"${FILESDIR}/${P}"-include-errno.patch
"${FILESDIR}/${P}"-declare-inespg.patch
"${FILESDIR}/${PV}"-sec-format.patch
+ "${FILESDIR}"/grass-7.0.2-soname.patch
)
pkg_setup() {