From 882ebf15b67aaebba0f050fe1f5ed0b459d75166 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 11 Nov 2020 20:59:51 +0100 Subject: community/virtualbox: only build the client components - at least, they build successfully --- community/virtualbox/PKGBUILD | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) (limited to 'community/virtualbox/PKGBUILD') diff --git a/community/virtualbox/PKGBUILD b/community/virtualbox/PKGBUILD index 0a53bda8..b876bc75 100644 --- a/community/virtualbox/PKGBUILD +++ b/community/virtualbox/PKGBUILD @@ -5,10 +5,29 @@ eval "$( declare -f build | \ sed ' + \@^\s*echo @ { + N + \@\n\s*kmk @ d + } s|kmk|kmk -j 1| + ' | \ + sed ' + \@^\s*\./configure @ { + s@--disable-\S\+@@g + s@--enable-\S\+@@g + s@configure @\0--only-additions --disable-kmods @ + } '; )" +pkgname=( + $( + printf '%s\n' "${pkgname[@]}" \ + | grep '^virtualbox-guest-' \ + | grep -v -- '-nox$' + ) +) + # let's not use too much memory, gcc tmpfiles can in this # case also be put on a real /tmp (instead of tmpfs) to reduce # preasure on the RAM @@ -18,18 +37,3 @@ eval "$( /source/ i \ sed -i 's/-pipe//g' Config.kmk ' )" - -# disable building of vboximg-mount, breaks when linking against -# libVBoxCom.a (XPCOM) -eval "$( - declare -f build | \ - sed ' - /vboximg-mount/d - ' -)" -eval "$( - declare -f package_virtualbox | \ - sed ' - /vboximg-mount/d - ' -)" -- cgit v1.2.3