summaryrefslogtreecommitdiff
path: root/app-emulation/virtualbox-guest-additions
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-05-04 09:04:22 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-05-04 09:04:22 +0100
commitfb961e5cf4608cfed7a8ad127ff8214cb78f79ec (patch)
treea49313b3c46926749009e9d73bff4ebe7e187e3e /app-emulation/virtualbox-guest-additions
parent7b2b2ad8a64feffde18cd17c3f219f559576c3e4 (diff)
app-emulation/virtualbox-guest-dkms : drop dev-util/kbuild dependency, use supplied kmk to build
Diffstat (limited to 'app-emulation/virtualbox-guest-additions')
-rw-r--r--app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.10.ebuild13
1 files changed, 2 insertions, 11 deletions
diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.10.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.10.ebuild
index 791e3962..654971ee 100644
--- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.10.ebuild
+++ b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.10.ebuild
@@ -15,6 +15,7 @@ SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
LICENSE="GPL-2"
SLOT="0"
+KEYWORDS="amd64"
IUSE="X"
RDEPEND="
@@ -35,7 +36,6 @@ RDEPEND="
"
DEPEND="
${RDEPEND}
- >=dev-util/kbuild-0.1.9998.3127
>=dev-lang/yasm-0.6.2
sys-devel/bin86
sys-libs/pam
@@ -58,21 +58,12 @@ pkg_setup() {
src_unpack() {
unpack ${A}
- cd "${S}"
- rm -rf kBuild/bin tools
}
src_prepare() {
cp "${FILESDIR}/${PN}-5-localconfig" LocalConfig.kmk || die
use X || echo "VBOX_WITH_X11_ADDITIONS :=" >> LocalConfig.kmk
- for vboxheader in {product,revision,version}-generated.h ; do
- for mdir in vbox{guest,sf} ; do
- ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \
- "${WORKDIR}/${mdir}/${vboxheader}"
- done
- done
-
sed -e '/^check_gcc$/d' -i configure || die
rm "${WORKDIR}/patches/011_virtualbox-5.1.30-sysmacros.patch" || die
@@ -102,7 +93,7 @@ src_configure() {
}
src_compile() {
- MAKE="kmk" \
+ MAKE=""${S}"/kBuild/bin/linux.amd64/kmk" \
emake TOOL_YASM_AS=yasm \
VBOX_ONLY_ADDITIONS=1 \
KBUILD_VERBOSE=2