sci-physics/h2o-gtk: Fix building with latest glibmm/libsigc++
authorPacho Ramos <pacho@gentoo.org>
Thu, 24 Dec 2015 13:31:53 +0000 (14:31 +0100)
committerPacho Ramos <pacho@gentoo.org>
Thu, 24 Dec 2015 13:40:27 +0000 (14:40 +0100)
Package-Manager: portage-2.2.26

sci-physics/h2o-gtk/h2o-gtk-0.1.ebuild

index fb30e916c6d9f3a77e0b99665d203e22b2acd819..a8884840b89c5795be53d8894578c2d1cebb9b30 100644 (file)
@@ -2,9 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
-
-inherit autotools-utils
+EAPI=5
+inherit autotools-utils flag-o-matic
 
 DESCRIPTION="GTK+ UI for libh2o -- water & steam properties"
 HOMEPAGE="https://bitbucket.org/mgorny/h2o-gtk/"
@@ -19,3 +18,8 @@ RDEPEND="dev-cpp/gtkmm
        >=sci-libs/libh2oxx-0.2
        sci-libs/plotmm"
 DEPEND="${RDEPEND}"
+
+src_prepare() {
+       autotools-utils_src_prepare
+       append-cxxflags -std=c++11
+}