Gentoo Archives: gentoo-commits

From: Amy Winston <amynka@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/grass/, sci-geosciences/grass/files/
Date: Sat, 05 Dec 2015 13:56:23
Message-Id: 1449321818.7733ecb896d2af618cb4b624240b663844303c01.amynka@gentoo
1 commit: 7733ecb896d2af618cb4b624240b663844303c01
2 Author: Amy Winston <amynka <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 5 13:23:38 2015 +0000
4 Commit: Amy Winston <amynka <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 5 13:23:38 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7733ecb8
7
8 sci-geosciences/grass: add SONAME patch and revbump.
9
10 Adds patch from upstream to build libraries with SONAME per bug 475188.
11
12 Package-Manager: portage-2.2.20.1
13
14 .../grass/files/grass-7.0.2-soname.patch | 26 ++++++++++++++++++++++
15 ...grass-7.0.1-r3.ebuild => grass-7.0.1-r4.ebuild} | 3 ++-
16 2 files changed, 28 insertions(+), 1 deletion(-)
17
18 diff --git a/sci-geosciences/grass/files/grass-7.0.2-soname.patch b/sci-geosciences/grass/files/grass-7.0.2-soname.patch
19 new file mode 100644
20 index 0000000..3f3442c
21 --- /dev/null
22 +++ b/sci-geosciences/grass/files/grass-7.0.2-soname.patch
23 @@ -0,0 +1,26 @@
24 +Index: aclocal.m4
25 +===================================================================
26 +--- aclocal.m4 (revision 66647)
27 ++++ aclocal.m4 (working copy)
28 +@@ -488,7 +488,7 @@
29 + case $host in
30 + *-linux-* | *-gnu* | *-kfreebsd*-gnu)
31 + SHLIB_CFLAGS="-fPIC"
32 +- SHLIB_LD_FLAGS=""
33 ++ SHLIB_LD_FLAGS="-Wl,-soname,\$(notdir \$[@])"
34 + SHLIB_SUFFIX=".so"
35 + SHLIB_LD="${CC} -shared"
36 + LDFLAGS="-Wl,--export-dynamic"
37 +Index: configure
38 +===================================================================
39 +--- configure (revision 66647)
40 ++++ configure (working copy)
41 +@@ -1481,7 +1481,7 @@
42 + case $host in
43 + *-linux-* | *-gnu* | *-kfreebsd*-gnu)
44 + SHLIB_CFLAGS="-fPIC"
45 +- SHLIB_LD_FLAGS=""
46 ++ SHLIB_LD_FLAGS="-Wl,-soname,\$(notdir \$@)"
47 + SHLIB_SUFFIX=".so"
48 + SHLIB_LD="${CC} -shared"
49 + LDFLAGS="-Wl,--export-dynamic"
50
51 diff --git a/sci-geosciences/grass/grass-7.0.1-r3.ebuild b/sci-geosciences/grass/grass-7.0.1-r4.ebuild
52 similarity index 99%
53 rename from sci-geosciences/grass/grass-7.0.1-r3.ebuild
54 rename to sci-geosciences/grass/grass-7.0.1-r4.ebuild
55 index d105302..f13e558 100644
56 --- a/sci-geosciences/grass/grass-7.0.1-r3.ebuild
57 +++ b/sci-geosciences/grass/grass-7.0.1-r4.ebuild
58 @@ -20,7 +20,7 @@ SRC_URI="http://grass.osgeo.org/${MY_PM}/source/${MY_P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 -KEYWORDS="~amd64 ~ppc64 ~x86"
63 +KEYWORDS="~amd64 ~x86"
64 IUSE="X blas cxx fftw geos lapack liblas mysql netcdf nls odbc opencl opengl openmp png postgres readline sqlite threads tiff truetype"
65
66 RDEPEND="${PYTHON_DEPS}
67 @@ -84,6 +84,7 @@ PATCHES=(
68 "${FILESDIR}/${P}"-include-errno.patch
69 "${FILESDIR}/${P}"-declare-inespg.patch
70 "${FILESDIR}/${PV}"-sec-format.patch
71 + "${FILESDIR}"/grass-7.0.2-soname.patch
72 )
73
74 pkg_setup() {