summaryrefslogtreecommitdiff
path: root/x11-drivers
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-03-11 18:32:55 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-03-11 18:32:55 +0000
commit1bb0926aaaca03cc4283f7a4c4e67d794c4bd303 (patch)
treed6879ebd70c735cad59380c7d764694e8bd4485d /x11-drivers
parent20b4366fb7f9b50eb5c57ec34ff07642cb9ed633 (diff)
another attempt to fix this
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.1.14.ebuild13
1 files changed, 2 insertions, 11 deletions
diff --git a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.1.14.ebuild b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.1.14.ebuild
index 132bac26..b2dc776a 100644
--- a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.1.14.ebuild
+++ b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.1.14.ebuild
@@ -45,10 +45,7 @@ PDEPEND="dri? ( ~app-emulation/virtualbox-guest-additions-${PV} )"
REQUIRED_USE=( "${PYTHON_REQUIRED_USE}" )
-BUILD_TARGETS="all"
-BUILD_TARGET_ARCH="${ARCH}"
S="${WORKDIR}/${MY_P}"
-MODULES_SRC_DIR="${S}/src/VBox/Additions/linux/drm"
PATCHES=(
# Ugly hack to build the opengl part of the video driver
@@ -138,8 +135,6 @@ src_compile() {
if use dri; then
local objdir="out/linux.${ARCH}/release/obj/vboxvideo_drm"
- # We need a Makefile, so use Makefile.module.kms
- ln -s Makefile.module.kms "${MODULES_SRC_DIR}"/Makefile || die
# All of these are expected to be in $(KBUILD_EXTMOD)/ so symlink them into place
targets=(
include
@@ -148,8 +143,7 @@ src_compile() {
out/linux.${ARCH}/release/{product,version,revision}-generated.h
)
for each in ${targets[@]} ; do
- ln -s "${S}"/${each} \
- "${MODULES_SRC_DIR}"/${each##*/} || die
+ :
done
# see the vboxvideo_drm_SOURCES list in Makefile.kmk for the below,
# and replace '..' with 'dt'
@@ -162,10 +156,7 @@ src_compile() {
dt/dt/dt/Runtime/common/alloc/heapoffset.o
)
for each in ${targets[@]} ; do
- ln -s "${S}"/${objdir}/${each} \
- "${MODULES_SRC_DIR}" || die
- ln -s "${S}"/${objdir}/${each}.dep \
- "${MODULES_SRC_DIR}" || die
+ :
done
fi
}