sci-libs/plplot: Build in C++11 mode
authorDavid Seifert <soap@gentoo.org>
Sun, 19 Feb 2017 11:06:40 +0000 (12:06 +0100)
committerDavid Seifert <soap@gentoo.org>
Sun, 19 Feb 2017 11:07:03 +0000 (12:07 +0100)
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

index 5bf49807a6d866de62b53af1692dc6b4cf126f79..9cf3d800c8c9441ddb60c7735b10dfb5ff7ec8ce 100644 (file)
@@ -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