summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/virtualbox/virtualbox-7.0.2.ebuild')
-rw-r--r--app-emulation/virtualbox/virtualbox-7.0.2.ebuild7
1 files changed, 6 insertions, 1 deletions
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