commit:     82f441f00f7be3a9d033ff8209a5b1bae997a4d9
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 23 20:31:15 2015 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Wed Dec 23 20:38:22 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82f441f0

sci-libs/plotmm: Fix building with latest glibmm/libsigc++

Package-Manager: portage-2.2.26

 sci-libs/plotmm/plotmm-0.1.2.ebuild | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/sci-libs/plotmm/plotmm-0.1.2.ebuild 
b/sci-libs/plotmm/plotmm-0.1.2.ebuild
index 6308ad4..fd00d23 100644
--- a/sci-libs/plotmm/plotmm-0.1.2.ebuild
+++ b/sci-libs/plotmm/plotmm-0.1.2.ebuild
@@ -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"

Reply via email to