Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/gdal/
Date: Sat, 30 Sep 2017 18:45:51
Message-Id: 1506797096.8ebdf3ae626d6d2b2612838df0037391a4c51fa7.asturm@gentoo
1 commit: 8ebdf3ae626d6d2b2612838df0037391a4c51fa7
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 30 17:56:13 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 30 18:44:56 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ebdf3ae
7
8 sci-libs/gdal: Enforce -std=c++ due to app-text/poppler, bug 626844
9
10 Backport from 4e369cdc8afa7bb5cb342b41ba5b95c484a4d2d5
11
12 Package-Manager: Portage-2.3.10, Repoman-2.3.3
13
14 sci-libs/gdal/gdal-2.0.2-r3.ebuild | 5 ++++-
15 1 file changed, 4 insertions(+), 1 deletion(-)
16
17 diff --git a/sci-libs/gdal/gdal-2.0.2-r3.ebuild b/sci-libs/gdal/gdal-2.0.2-r3.ebuild
18 index 69e5cbf4d7b..4a713012e98 100644
19 --- a/sci-libs/gdal/gdal-2.0.2-r3.ebuild
20 +++ b/sci-libs/gdal/gdal-2.0.2-r3.ebuild
21 @@ -9,7 +9,7 @@ GENTOO_DEPEND_ON_PERL="no"
22 PYTHON_COMPAT=( python2_7 python3_4 )
23 DISTUTILS_OPTIONAL=1
24
25 -inherit autotools eutils libtool perl-module distutils-r1 toolchain-funcs java-pkg-opt-2
26 +inherit autotools eutils libtool perl-module distutils-r1 flag-o-matic toolchain-funcs java-pkg-opt-2
27
28 DESCRIPTION="Translator library for raster geospatial data formats (includes OGR support)"
29 HOMEPAGE="http://www.gdal.org/"
30 @@ -121,6 +121,9 @@ src_prepare() {
31 -e "s:library_dirs = :library_dirs = /usr/$(get_libdir):g" \
32 swig/python/setup.cfg || die "sed python setup.cfg failed"
33
34 + # bug 626844, poppler headers require C++11
35 + use pdf && append-cxxflags -std=c++11
36 +
37 tc-export AR RANLIB
38
39 eautoreconf