mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
app-emulation/virtualbox: Added debug USE flag (bug #583052).
Package-Manager: portage-2.2.28 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
@@ -20,7 +20,7 @@ HOMEPAGE="http://www.virtualbox.org/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="alsa doc headless java libressl lvm pam pulseaudio +opengl python +qt4 +sdk +udev vboxwebsrv vnc"
|
||||
IUSE="alsa debug doc headless java libressl lvm pam pulseaudio +opengl python +qt4 +sdk +udev vboxwebsrv vnc"
|
||||
|
||||
RDEPEND="!app-emulation/virtualbox-bin
|
||||
~app-emulation/virtualbox-modules-${PV}
|
||||
@@ -182,6 +182,7 @@ src_prepare() {
|
||||
src_configure() {
|
||||
local myconf
|
||||
use alsa || myconf+=( --disable-alsa )
|
||||
use debug && myconf+=( --build-debug )
|
||||
use doc || myconf+=( --disable-docs )
|
||||
use java || myconf+=( --disable-java )
|
||||
use lvm || myconf+=( --disable-devmapper )
|
||||
@@ -230,7 +231,9 @@ src_compile() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}"/out/linux.${ARCH}/release/bin || die
|
||||
local binpath="release"
|
||||
use debug && binpath="debug"
|
||||
cd "${S}"/out/linux.${ARCH}/${binpath}/bin || die
|
||||
|
||||
local vbox_inst_path="/usr/$(get_libdir)/${PN}" each fwfile
|
||||
|
||||
|
||||
Reference in New Issue
Block a user