commit:     1517d387651e81dcbf881289d60e58ef765ababc
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 19 11:06:40 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Feb 19 11:07:03 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1517d387

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

 sci-libs/plplot/plplot-5.12.0.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sci-libs/plplot/plplot-5.12.0.ebuild 
b/sci-libs/plplot/plplot-5.12.0.ebuild
index 5bf49807a6..9cf3d800c8 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

Reply via email to