From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 94883158020 for ; Sun, 20 Nov 2022 08:20:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5B116E0A62; Sun, 20 Nov 2022 08:20:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 42741E0A62 for ; Sun, 20 Nov 2022 08:20:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 474A9341356 for ; Sun, 20 Nov 2022 08:20:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6E781766 for ; Sun, 20 Nov 2022 08:20:52 +0000 (UTC) From: "Viorel Munteanu" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Viorel Munteanu" Message-ID: <1668932322.d1e553ee971b105c5bfe7835d693df82d90044f6.ceamac@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/virtualbox/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/virtualbox/virtualbox-7.0.2.ebuild X-VCS-Directories: app-emulation/virtualbox/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: d1e553ee971b105c5bfe7835d693df82d90044f6 X-VCS-Branch: master Date: Sun, 20 Nov 2022 08:20:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c6f46dcf-d1e7-45ce-b379-12307ba732d4 X-Archives-Hash: 1688ba9ef6f08f5d1a54f3a4dd8354e9 commit: d1e553ee971b105c5bfe7835d693df82d90044f6 Author: Viorel Munteanu gentoo org> AuthorDate: Sat Nov 19 14:38:07 2022 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Sun Nov 20 08:18:42 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1e553ee app-emulation/virtualbox: fix regression with USE="headless sdl" Bug: https://bugs.gentoo.org/678534 Closes: https://github.com/gentoo/gentoo/pull/28229 Signed-off-by: Viorel Munteanu gentoo.org> app-emulation/virtualbox/virtualbox-7.0.2.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app-emulation/virtualbox/virtualbox-7.0.2.ebuild b/app-emulation/virtualbox/virtualbox-7.0.2.ebuild index 1a1bd3355268..bc613d5df1fa 100644 --- a/app-emulation/virtualbox/virtualbox-7.0.2.ebuild +++ b/app-emulation/virtualbox/virtualbox-7.0.2.ebuild @@ -201,6 +201,11 @@ pkg_pretend() { einfo "USE=\"headless\", this build will not include any X11/Qt frontend." fi + if use headless && use sdl; then + einfo "You selected USE=\"headless sdl\", defaulting to" + einfo "USE=\"headless\", this build will not include SDL." + fi + if ! use opengl; then einfo "No USE=\"opengl\" selected, this build will lack" einfo "the OpenGL feature." @@ -289,7 +294,7 @@ src_prepare() { CFLAGS=${CFLAGS} EOF - if use sdl; then + if ! use headless && use sdl; then echo -e "\nVBOX_WITH_VBOXSDL=1" >> LocalConfig.kmk || die fi