summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Cardona <remi@gentoo.org>2008-07-16 08:46:50 +0000
committerRémi Cardona <remi@gentoo.org>2008-07-16 08:46:50 +0000
commitfdf2b0a9cda4a3da56553a2ded76279523e6e542 (patch)
treefe80dd9bd8e980d48374df8d776ada2df5962c16 /dev-cpp
parentbackport a patch from upstream fo fix build on fbsd, bug #227809, see also ht... (diff)
downloadgentoo-2-fdf2b0a9cda4a3da56553a2ded76279523e6e542.tar.gz
gentoo-2-fdf2b0a9cda4a3da56553a2ded76279523e6e542.tar.bz2
gentoo-2-fdf2b0a9cda4a3da56553a2ded76279523e6e542.zip
dev-cpp/gtkmm: don't build tests unless asked to, fixes bug #225957
(Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r6 x86_64)
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/gtkmm/ChangeLog5
-rw-r--r--dev-cpp/gtkmm/gtkmm-2.12.7.ebuild13
2 files changed, 15 insertions, 3 deletions
diff --git a/dev-cpp/gtkmm/ChangeLog b/dev-cpp/gtkmm/ChangeLog
index 84b9c44d6522..c3dee4909fda 100644
--- a/dev-cpp/gtkmm/ChangeLog
+++ b/dev-cpp/gtkmm/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-cpp/gtkmm
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gtkmm/ChangeLog,v 1.145 2008/07/11 09:09:04 remi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gtkmm/ChangeLog,v 1.146 2008/07/16 08:46:50 remi Exp $
+
+ 16 Jul 2008; Rémi Cardona <remi@gentoo.org> gtkmm-2.12.7.ebuild:
+ don't build tests unless asked to, fixes bug #225957
11 Jul 2008; Rémi Cardona <remi@gentoo.org> -gtkmm-2.10.10.ebuild,
-gtkmm-2.12.3.ebuild, -gtkmm-2.12.4.ebuild, -gtkmm-2.12.5.ebuild:
diff --git a/dev-cpp/gtkmm/gtkmm-2.12.7.ebuild b/dev-cpp/gtkmm/gtkmm-2.12.7.ebuild
index 8119fe5239fc..5854ff12b831 100644
--- a/dev-cpp/gtkmm/gtkmm-2.12.7.ebuild
+++ b/dev-cpp/gtkmm/gtkmm-2.12.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gtkmm/gtkmm-2.12.7.ebuild,v 1.2 2008/07/10 15:16:28 remi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gtkmm/gtkmm-2.12.7.ebuild,v 1.3 2008/07/16 08:46:50 remi Exp $
inherit gnome2
@@ -10,7 +10,7 @@ HOMEPAGE="http://www.gtkmm.org"
LICENSE="LGPL-2.1"
SLOT="2.4"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE="accessibility doc examples"
+IUSE="accessibility doc examples test"
RDEPEND=">=dev-cpp/glibmm-2.14.1
>=x11-libs/gtk+-2.12
@@ -30,3 +30,12 @@ pkg_setup() {
$(use_enable examples)
$(use_enable examples demos)"
}
+
+src_unpack() {
+ gnome2_src_unpack
+
+ if ! use test; then
+ # don't waste time building tests
+ sed -i 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' Makefile.in || die "sed failed"
+ fi
+}