summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2013-07-28 18:33:06 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2013-07-28 18:33:06 +0000
commit45e309940260a761de8242c7787710b206506c81 (patch)
tree457f5337a3f6381e889125cc7cfd86809105201f /dev-libs/seed
parentApply team policy on src_configure. (diff)
downloadgentoo-2-45e309940260a761de8242c7787710b206506c81.tar.gz
gentoo-2-45e309940260a761de8242c7787710b206506c81.tar.bz2
gentoo-2-45e309940260a761de8242c7787710b206506c81.zip
Add REQUIRED_USE and swith G2CONF to myconf.
(Portage version: 2.2.0_alpha190/cvs/Linux x86_64, signed Manifest commit with key C6085806)
Diffstat (limited to 'dev-libs/seed')
-rw-r--r--dev-libs/seed/ChangeLog5
-rw-r--r--dev-libs/seed/seed-3.8.1.ebuild16
2 files changed, 12 insertions, 9 deletions
diff --git a/dev-libs/seed/ChangeLog b/dev-libs/seed/ChangeLog
index 52580959b126..6870c42f2047 100644
--- a/dev-libs/seed/ChangeLog
+++ b/dev-libs/seed/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/seed
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/seed/ChangeLog,v 1.15 2013/04/25 18:45:54 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/seed/ChangeLog,v 1.16 2013/07/28 18:33:06 eva Exp $
+
+ 28 Jul 2013; Gilles Dartiguelongue <eva@gentoo.org> seed-3.8.1.ebuild:
+ Add REQUIRED_USE and swith G2CONF to myconf.
*seed-3.8.1 (25 Apr 2013)
diff --git a/dev-libs/seed/seed-3.8.1.ebuild b/dev-libs/seed/seed-3.8.1.ebuild
index 67d4344ea015..1907c588a7e7 100644
--- a/dev-libs/seed/seed-3.8.1.ebuild
+++ b/dev-libs/seed/seed-3.8.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/seed/seed-3.8.1.ebuild,v 1.1 2013/04/25 18:45:54 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/seed/seed-3.8.1.ebuild,v 1.2 2013/07/28 18:33:06 eva Exp $
EAPI=5
GNOME2_LA_PUNT="yes"
@@ -14,6 +14,7 @@ LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="debug profile test"
+REQUIRED_USE="profile? ( debug )"
RDEPEND="
>=dev-libs/gobject-introspection-1
@@ -50,16 +51,14 @@ src_prepare() {
}
src_configure() {
+ local myconf=""
# configure behaves very strangely and enables profiling if we pass either
# --disable-profile or --enable-profile
if use profile; then
- G2CONF="${G2CONF}
+ myconf="${myconf}
--enable-profile
- --enable-profile-modules"
- if ! use debug; then
- einfo "USE=profile needs debug, auto-enabling..."
- G2CONF="${G2CONF} --enable-debug"
- fi
+ --enable-profile-modules
+ --enable-debug"
fi
gnome2_src_configure \
@@ -76,7 +75,8 @@ src_configure() {
--enable-sqlite-module \
--enable-libxml-module \
--enable-xorg-module \
- --docdir="${EPREFIX}/usr/share/doc/${PF}/html"
+ --docdir="${EPREFIX}/usr/share/doc/${PF}/html" \
+ ${myconf}
}
src_test() {