summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-02-19 12:06:40 +0100
committerDavid Seifert <soap@gentoo.org>2017-02-19 12:07:03 +0100
commit1517d387651e81dcbf881289d60e58ef765ababc (patch)
tree3c1114699614fb2344b676ad9fa7a8be088814ae /sci-libs/plplot
parentnet-im/openfire: bump up to 4.1.2 (diff)
downloadgentoo-1517d387651e81dcbf881289d60e58ef765ababc.tar.gz
gentoo-1517d387651e81dcbf881289d60e58ef765ababc.tar.bz2
gentoo-1517d387651e81dcbf881289d60e58ef765ababc.zip
sci-libs/plplot: Build in C++11 mode
Bug: https://bugs.gentoo.org/show_bug.cgi?id=609980 Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'sci-libs/plplot')
-rw-r--r--sci-libs/plplot/plplot-5.12.0.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/sci-libs/plplot/plplot-5.12.0.ebuild b/sci-libs/plplot/plplot-5.12.0.ebuild
index 5bf49807a6d8..9cf3d800c8c9 100644
--- a/sci-libs/plplot/plplot-5.12.0.ebuild
+++ b/sci-libs/plplot/plplot-5.12.0.ebuild
@@ -9,7 +9,7 @@ FORTRAN_NEEDED=fortran
FORTRAN_STANDARD=95
PYTHON_COMPAT=( python2_7 )
-inherit cmake-utils fortran-2 java-pkg-opt-2 python-single-r1 toolchain-funcs virtualx wxwidgets
+inherit cmake-utils flag-o-matic fortran-2 java-pkg-opt-2 python-single-r1 toolchain-funcs virtualx wxwidgets
DESCRIPTION="Multi-language scientific plotting library"
HOMEPAGE="http://plplot.sourceforge.net/"
@@ -138,6 +138,10 @@ src_configure() {
# * Qt4 has been disabled, as it is deprecated and unsupported upstream
# - DPLD_* drivers need to use ON/OFF instead of the usex defaults yes/no, as
# the testsuite performs a string comparison to determine which tests to run
+
+ # Octave bindings now require C++11 support, #609980
+ append-cxxflags -std=c++11
+
local mycmakeargs=(
## Features
-DBUILD_DOC=OFF