diff options
author | Paul Varner <fuzzyray@gentoo.org> | 2006-01-06 01:15:26 +0000 |
---|---|---|
committer | Paul Varner <fuzzyray@gentoo.org> | 2006-01-06 01:15:26 +0000 |
commit | 288ab5910a69f73288b9fcff2993d252ebe42dd1 (patch) | |
tree | 7b8f9e719b509abf884a98e7947edee4f86d16e1 /app-portage | |
parent | s390 stable (diff) | |
download | gentoo-2-288ab5910a69f73288b9fcff2993d252ebe42dd1.tar.gz gentoo-2-288ab5910a69f73288b9fcff2993d252ebe42dd1.tar.bz2 gentoo-2-288ab5910a69f73288b9fcff2993d252ebe42dd1.zip |
Change pkg_setup() to use built_with_use. Bug #67537
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'app-portage')
-rw-r--r-- | app-portage/porthole/ChangeLog | 8 | ||||
-rw-r--r-- | app-portage/porthole/porthole-0.4.1.ebuild | 18 |
2 files changed, 10 insertions, 16 deletions
diff --git a/app-portage/porthole/ChangeLog b/app-portage/porthole/ChangeLog index b71b897af0ac..64f91e4314a5 100644 --- a/app-portage/porthole/ChangeLog +++ b/app-portage/porthole/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-portage/porthole -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/porthole/ChangeLog,v 1.21 2005/12/23 04:40:34 fuzzyray Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-portage/porthole/ChangeLog,v 1.22 2006/01/06 01:15:26 fuzzyray Exp $ + + 06 Jan 2006; Paul Varner <fuzzyray@gentoo.org> porthole-0.4.1.ebuild: + Change pkg_setup() to use built_with_use. Patch from Alec Warner + (antarus). Bug #67537 *porthole-0.5.0 (23 Dec 2005) diff --git a/app-portage/porthole/porthole-0.4.1.ebuild b/app-portage/porthole/porthole-0.4.1.ebuild index 4e3cac0e0d0d..06d8757dbbc8 100644 --- a/app-portage/porthole/porthole-0.4.1.ebuild +++ b/app-portage/porthole/porthole-0.4.1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/porthole/porthole-0.4.1.ebuild,v 1.6 2005/06/24 17:38:21 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/porthole/porthole-0.4.1.ebuild,v 1.7 2006/01/06 01:15:26 fuzzyray Exp $ -inherit distutils +inherit distutils eutils DESCRIPTION="A GTK+-based frontend to Portage" HOMEPAGE="http://porthole.sourceforge.net" @@ -19,17 +19,7 @@ DEPEND=">=dev-lang/python-2.3 RDEPEND="${DEPEND} debug? ( >=dev-python/pycrash-0.4_pre3 )" pkg_setup() { - local gnome_flag=false - - for pygtk_install in /var/db/pkg/dev-python/pygtk*; do - cd ${pygtk_install} || die - if [[ $(<SLOT) == 2 && " $(<USE) " == *" gnome "* ]]; then - gnome_flag=true - break - fi - done - - if ! ${gnome_flag}; then + if ! built_with_use dev-python/pygtk gnome ; then echo eerror "pygtk was not merged with the gnome" eerror "USE flag. Porthole requires pygtk be" |