diff options
Diffstat (limited to 'system/virtualbox-addons/virtualbox-addons.SlackBuild')
-rw-r--r-- | system/virtualbox-addons/virtualbox-addons.SlackBuild | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/system/virtualbox-addons/virtualbox-addons.SlackBuild b/system/virtualbox-addons/virtualbox-addons.SlackBuild index 063fa71844..a0a289f8e2 100644 --- a/system/virtualbox-addons/virtualbox-addons.SlackBuild +++ b/system/virtualbox-addons/virtualbox-addons.SlackBuild @@ -86,22 +86,20 @@ find -L . \ # Use virtualbox-kernel-addons.SlackBuild for this. patch -d src/VBox/Additions/linux/installer/ -i $CWD/rc.vboxadd.diff -# We set the environment variables manually to avoid dependency on acpica -export BUILD_PLATFORM="linux" -export BUILD_PLATFORM_ARCH="$TARGET" -export BUILD_TARGET="linux" -export BUILD_TARGET_ARCH="$TARGET" -export BUILD_TARGET_CPU="$ARCH" -export BUILD_TYPE="release" -export PATH_KBUILD="$TMP/$SRCNAM-${VERSION}/kBuild" -export PATH_DEVTOOLS="$TMP/$SRCNAM-${VERSION}/tools" -path_kbuild_bin="$PATH_KBUILD/bin/$BUILD_TARGET.$BUILD_PLATFORM_ARCH" -export PATH_KBUILD_BIN="$path_kbuild_bin" -path_dev_bin="$PATH_DEVTOOLS/$BUILD_TARGET.$BUILD_PLATFORM_ARCH"/bin -echo "$PATH" | grep -q "$path_kbuild_bin" || PATH="$path_kbuild_bin:$PATH" -echo "$PATH" | grep -q "$path_dev_bin" || PATH="$path_dev_bin:$PATH" -export PATH -unset path_kbuild_bin path_dev_bin +# Cheat! +sed -i "s|cc_maj -gt 7|cc_maj -gt 9|" configure + +./configure \ + --only-additions \ + --disable-kmods \ + --with-makeself=/usr/bin/echo + +. ./env.sh + +OPENSSL=$(grep openssl src/libs/Makefile.kmk | cut -d "/" -f 2) + +mkdir -p src/libs/$OPENSSL +touch src/libs/$OPENSSL/Makefile.kmk kmk -j ${JOBS} LOCALCFG=$CWD/LocalConfig.kmk |