summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2017-08-20 21:05:49 +0200
committerMaciej Mrozowski <reavertm@gentoo.org>2017-08-20 21:07:15 +0200
commit4e369cdc8afa7bb5cb342b41ba5b95c484a4d2d5 (patch)
treef5fbb4e3383a956f96091bac8079709ea8bf0971 /sci-libs
parentupdate default RUBY_TARGETS (diff)
downloadgentoo-4e369cdc8afa7bb5cb342b41ba5b95c484a4d2d5.tar.gz
gentoo-4e369cdc8afa7bb5cb342b41ba5b95c484a4d2d5.tar.bz2
gentoo-4e369cdc8afa7bb5cb342b41ba5b95c484a4d2d5.zip
sci-libs/gdal: Enforce -std=c++ due to app-text/poppler, bug 626844
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/gdal/gdal-2.0.3.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sci-libs/gdal/gdal-2.0.3.ebuild b/sci-libs/gdal/gdal-2.0.3.ebuild
index c4ae37e4b83..a24cb7c3250 100644
--- a/sci-libs/gdal/gdal-2.0.3.ebuild
+++ b/sci-libs/gdal/gdal-2.0.3.ebuild
@@ -9,7 +9,7 @@ GENTOO_DEPEND_ON_PERL="no"
PYTHON_COMPAT=( python2_7 python3_{4,5} )
DISTUTILS_OPTIONAL=1
-inherit autotools perl-module distutils-r1 toolchain-funcs java-pkg-opt-2
+inherit autotools perl-module distutils-r1 toolchain-funcs flag-o-matic java-pkg-opt-2
DESCRIPTION="Translator library for raster geospatial data formats (includes OGR support)"
HOMEPAGE="http://www.gdal.org/"
@@ -122,6 +122,9 @@ src_prepare() {
default
+ # bug 626844, poppler headers require C++11
+ use pdf && append-cxxflags -std=c++11
+
tc-export AR RANLIB
mv configure.{in,ac} || die