--- gtkmm-2.8.3.ebuild.orig 2006-08-22 20:02:49.000000000 +0200 +++ gtkmm-2.8.3.ebuild 2006-08-22 20:10:47.000000000 +0200 @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gtkmm/gtkmm-2.8.3.ebuild,v 1.11 2006/08/16 15:00:55 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gtkmm/gtkmm-2.8.3.ebuild,v 1.10 2006/07/18 05:13:30 flameeyes Exp $ inherit gnome2 @@ -10,7 +10,7 @@ LICENSE="LGPL-2.1" SLOT="2.4" KEYWORDS="~alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd" -IUSE="" +IUSE="examples demos" RDEPEND=">=dev-cpp/glibmm-2.7 >=x11-libs/gtk+-2.7 @@ -22,3 +22,10 @@ G2CONF="--disable-examples --disable-demos" DOCS="AUTHORS CHANGES ChangeLog PORTING NEWS README" + +src_compile() { + econf $(use_enable examples) $(use_enable demos) || die + emake || die +} + +