diff options
author | Ralph Sennhauser <sera@gentoo.org> | 2012-05-11 09:07:25 +0000 |
---|---|---|
committer | Ralph Sennhauser <sera@gentoo.org> | 2012-05-11 09:07:25 +0000 |
commit | d59a489fc2def7325f8b19f7e691a39a61c9042b (patch) | |
tree | 4f4dc728580f1da5a041c15fdcdc45b0ab58ada4 /app-emulation | |
parent | Push out FreeBSD PIE fix #415185 by Alexis Ballier. (diff) | |
download | gentoo-2-d59a489fc2def7325f8b19f7e691a39a61c9042b.tar.gz gentoo-2-d59a489fc2def7325f8b19f7e691a39a61c9042b.tar.bz2 gentoo-2-d59a489fc2def7325f8b19f7e691a39a61c9042b.zip |
Convert built_with_use to use deps. #261562
Ack by polinomial-c and patrick.
(Portage version: 2.1.10.57/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/virtualbox/ChangeLog | 6 | ||||
-rw-r--r-- | app-emulation/virtualbox/virtualbox-9999.ebuild | 22 |
2 files changed, 10 insertions, 18 deletions
diff --git a/app-emulation/virtualbox/ChangeLog b/app-emulation/virtualbox/ChangeLog index e8388ab520f2..97003c7ed540 100644 --- a/app-emulation/virtualbox/ChangeLog +++ b/app-emulation/virtualbox/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-emulation/virtualbox # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/ChangeLog,v 1.110 2012/05/03 18:49:06 jdhore Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/ChangeLog,v 1.111 2012/05/11 09:07:25 sera Exp $ + + 11 May 2012; Ralph Sennhauser <sera@gentoo.org> virtualbox-9999.ebuild: + Convert built_with_use to use deps. #261562 + Ack by polinomial-c and patrick. 03 May 2012; Jeff Horelick <jdhore@gentoo.org> virtualbox-4.1.12.ebuild, virtualbox-4.1.14.ebuild: diff --git a/app-emulation/virtualbox/virtualbox-9999.ebuild b/app-emulation/virtualbox/virtualbox-9999.ebuild index 57bc0e4f4277..9e87147a9dd1 100644 --- a/app-emulation/virtualbox/virtualbox-9999.ebuild +++ b/app-emulation/virtualbox/virtualbox-9999.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-9999.ebuild,v 1.28 2011/10/23 13:14:01 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-9999.ebuild,v 1.29 2012/05/11 09:07:25 sera Exp $ EAPI=2 @@ -15,6 +15,7 @@ SLOT="0" KEYWORDS="" IUSE="alsa headless pulseaudio python +qt4 sdk" +# The VBoxSDL frontend needs media-libs/libsdl[X] (bug #177335) RDEPEND="!app-emulation/virtualbox-bin !app-emulation/virtualbox-additions !app-emulation/virtualbox-modules @@ -34,7 +35,7 @@ RDEPEND="!app-emulation/virtualbox-bin ) x11-libs/libXcursor x11-libs/libXinerama - media-libs/libsdl + media-libs/libsdl[X] x11-libs/libXt media-libs/mesa ) sys-apps/usermode-utilities @@ -48,25 +49,12 @@ DEPEND="${RDEPEND} media-libs/libpng >=media-libs/alsa-lib-1.0.13 pulseaudio? ( media-sound/pulseaudio ) - python? ( >=dev-lang/python-2.3 )" + python? ( >=dev-lang/python-2.3[threads] )" BUILD_TARGETS="all" MODULE_NAMES="vboxdrv(misc:${S}/out/linux.${ARCH}/release/bin/src:${S}/out/linux.${ARCH}/release/bin/src)" pkg_setup() { - # The VBoxSDL frontend needs media-libs/libsdl compiled - # with USE flag X enabled (bug #177335) - if ! built_with_use media-libs/libsdl X; then - eerror "media-libs/libsdl was compiled without the \"X\" USE flag enabled." - eerror "Please re-emerge media-libs/libsdl with USE=\"X\"." - die "media-libs/libsdl should be compiled with the \"X\" USE flag." - fi - if use python && ! built_with_use dev-lang/python threads ; then - eerror "dev-lang/python was compiled without the \"threads\" USE flag enabled." - eerror "Please re-emerge dev-lang/python with USE=\"threads\"." - die "dev-lang/python should be compiled with the \"threads\" USE flag." - fi - linux-mod_pkg_setup BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" |