summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/virtualbox/virtualbox-5.2.22.ebuild')
-rw-r--r--app-emulation/virtualbox/virtualbox-5.2.22.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/app-emulation/virtualbox/virtualbox-5.2.22.ebuild b/app-emulation/virtualbox/virtualbox-5.2.22.ebuild
index b7a4c078630b..ea84396fbfb8 100644
--- a/app-emulation/virtualbox/virtualbox-5.2.22.ebuild
+++ b/app-emulation/virtualbox/virtualbox-5.2.22.ebuild
@@ -28,10 +28,11 @@ RDEPEND="!app-emulation/virtualbox-bin
dev-libs/libxml2
media-libs/libpng:0=
media-libs/libvpx:0=
- sys-libs/zlib
+ sys-libs/zlib:=
!headless? (
media-libs/libsdl:0[X,video]
x11-libs/libX11
+ x11-libs/libxcb:=
x11-libs/libXcursor
x11-libs/libXext
x11-libs/libXmu
@@ -197,6 +198,11 @@ src_prepare() {
eapply_user
}
+doecho() {
+ echo "$@"
+ "$@" || die
+}
+
src_configure() {
local myconf=(
--with-gcc="$(tc-getCC)"
@@ -229,7 +235,7 @@ src_configure() {
myconf+=( --disable-vmmraw )
fi
# not an autoconf script
- ./configure ${myconf[@]} || die "configure failed"
+ doecho ./configure ${myconf[@]}
}
src_compile() {