virtualbox-ose: fix path to the dri modules dir in vbox additions.
This commit is contained in:
parent
1986751201
commit
139d0d918a
1 changed files with 9 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
pkgname=virtualbox-ose
|
||||
_vbox_distver=4.3.0
|
||||
version=${_vbox_distver}
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="VirtualBox-${version}"
|
||||
patch_args="-Np1"
|
||||
short_desc="General-purpose full virtualizer for x86 hardware"
|
||||
|
@ -25,12 +25,19 @@ if [ "$XBPS_MACHINE" = "x86_64" ]; then
|
|||
makedepends+=" gcc-c++-multilib"
|
||||
fi
|
||||
|
||||
do_build() {
|
||||
do_configure() {
|
||||
# Use our path for dri drivers.
|
||||
sed -e 's,/usr/lib64/dri:/usr/lib/dri:/usr/lib/x86_64-linux-gnu/dri,/usr/lib/xorg/modules/drivers,g' \
|
||||
-i src/VBox/Additions/common/crOpenGL/fakedri_drv.c
|
||||
|
||||
cp ${FILESDIR}/LocalConfig.kmk .
|
||||
ln -s /bin/echo makeself
|
||||
|
||||
./configure --disable-docs --disable-java --enable-vde \
|
||||
--disable-python --disable-kmods --nofatal
|
||||
}
|
||||
|
||||
do_build() {
|
||||
source ./env.sh
|
||||
kmk ${makejobs} all
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue