summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-09-30 19:56:13 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-09-30 20:44:56 +0200
commit8ebdf3ae626d6d2b2612838df0037391a4c51fa7 (patch)
tree428d737960e91c0dc44284fea9e6d3a7e98180e7 /sci-libs/gdal
parentdev-libs/libclc: Current version requires LLVM <= 5 (diff)
downloadgentoo-8ebdf3ae626d6d2b2612838df0037391a4c51fa7.tar.gz
gentoo-8ebdf3ae626d6d2b2612838df0037391a4c51fa7.tar.bz2
gentoo-8ebdf3ae626d6d2b2612838df0037391a4c51fa7.zip
sci-libs/gdal: Enforce -std=c++ due to app-text/poppler, bug 626844
Backport from 4e369cdc8afa7bb5cb342b41ba5b95c484a4d2d5 Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'sci-libs/gdal')
-rw-r--r--sci-libs/gdal/gdal-2.0.2-r3.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sci-libs/gdal/gdal-2.0.2-r3.ebuild b/sci-libs/gdal/gdal-2.0.2-r3.ebuild
index 69e5cbf4d7bc..4a713012e981 100644
--- a/sci-libs/gdal/gdal-2.0.2-r3.ebuild
+++ b/sci-libs/gdal/gdal-2.0.2-r3.ebuild
@@ -9,7 +9,7 @@ GENTOO_DEPEND_ON_PERL="no"
PYTHON_COMPAT=( python2_7 python3_4 )
DISTUTILS_OPTIONAL=1
-inherit autotools eutils libtool perl-module distutils-r1 toolchain-funcs java-pkg-opt-2
+inherit autotools eutils libtool perl-module distutils-r1 flag-o-matic toolchain-funcs java-pkg-opt-2
DESCRIPTION="Translator library for raster geospatial data formats (includes OGR support)"
HOMEPAGE="http://www.gdal.org/"
@@ -121,6 +121,9 @@ src_prepare() {
-e "s:library_dirs = :library_dirs = /usr/$(get_libdir):g" \
swig/python/setup.cfg || die "sed python setup.cfg failed"
+ # bug 626844, poppler headers require C++11
+ use pdf && append-cxxflags -std=c++11
+
tc-export AR RANLIB
eautoreconf