sci-libs/plotmm: Fix building with latest glibmm/libsigc++
authorPacho Ramos <pacho@gentoo.org>
Wed, 23 Dec 2015 20:31:15 +0000 (21:31 +0100)
committerPacho Ramos <pacho@gentoo.org>
Wed, 23 Dec 2015 20:38:22 +0000 (21:38 +0100)
Package-Manager: portage-2.2.26

sci-libs/plotmm/plotmm-0.1.2.ebuild

index 6308ad48aa67e71ad69b6754c0d43f2823d48231..fd00d23fd8cd17393da82099337d1432cb3c734c 100644 (file)
@@ -2,9 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="2"
-
-inherit eutils
+EAPI=5
+inherit eutils flag-o-matic
 
 DESCRIPTION="Plot widget for GTKmm"
 HOMEPAGE="http://plotmm.sourceforge.net/"
@@ -17,7 +16,7 @@ IUSE="doc examples"
 
 RDEPEND="dev-cpp/gtkmm:2.4"
 DEPEND="${RDEPEND}
-               virtual/pkgconfig"
+       virtual/pkgconfig"
 
 # NOTES:
 # somewhat, there is a dep on libsigc++ but it's much more via gtkmm
@@ -31,17 +30,15 @@ src_prepare() {
 }
 
 src_configure() {
+       append-cxxflags -std=c++11
        econf \
                --disable-maintainer-mode \
-               --disable-dependency-tracking \
                --enable-fast-install \
                --disable-libtool-lock
 }
 
 src_install() {
-       emake DESTDIR="${D}" install || die "emake install failed"
-
-       dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"
+       default
 
        if use doc; then
                dohtml -r doc/html/* || die "dohtml failed"