From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-881709-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 0047713825A
	for <garchives@archives.gentoo.org>; Sun, 15 May 2016 19:37:05 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 755031423F;
	Sun, 15 May 2016 19:37:04 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 1BEF01423F
	for <gentoo-commits@lists.gentoo.org>; Sun, 15 May 2016 19:36:59 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 371CF340BD7
	for <gentoo-commits@lists.gentoo.org>; Sun, 15 May 2016 19:36:58 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 4E9DF342
	for <gentoo-commits@lists.gentoo.org>; Sun, 15 May 2016 19:36:56 +0000 (UTC)
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" <polynomial-c@gentoo.org>
Message-ID: <1463341012.93b660ef48ae9a57161da4f53bc9879cd7fcb6c2.polynomial-c@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/virtualbox/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-emulation/virtualbox/virtualbox-5.0.20.ebuild
X-VCS-Directories: app-emulation/virtualbox/
X-VCS-Committer: polynomial-c
X-VCS-Committer-Name: Lars Wendler
X-VCS-Revision: 93b660ef48ae9a57161da4f53bc9879cd7fcb6c2
X-VCS-Branch: master
Date: Sun, 15 May 2016 19:36:56 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: d7385862-6274-4352-8c51-0a1d916d1dd9
X-Archives-Hash: 57e502a758258302400afd4ae2da49ed

commit:     93b660ef48ae9a57161da4f53bc9879cd7fcb6c2
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sun May 15 19:36:22 2016 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sun May 15 19:36:52 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93b660ef

app-emulation/virtualbox: Added debug USE flag (bug #583052).

Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 app-emulation/virtualbox/virtualbox-5.0.20.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/app-emulation/virtualbox/virtualbox-5.0.20.ebuild b/app-emulation/virtualbox/virtualbox-5.0.20.ebuild
index bf4cc33..6b54510 100644
--- a/app-emulation/virtualbox/virtualbox-5.0.20.ebuild
+++ b/app-emulation/virtualbox/virtualbox-5.0.20.ebuild
@@ -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