virtualbox-ose: fix path to the dri modules dir in vbox additions.

This commit is contained in:
Juan RP 2013-10-16 11:17:54 +02:00
parent 1986751201
commit 139d0d918a
1 changed files with 9 additions and 2 deletions

View File

@ -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
}