aboutsummaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorBernhard Froehlich <decke@FreeBSD.org>2012-05-10 06:44:36 +0000
committerBernhard Froehlich <decke@FreeBSD.org>2012-05-10 06:44:36 +0000
commit5f619fe147e1bac3646c7ba3cd67774e56788969 (patch)
tree6d365f746520f562755815815d6a5c40e1eedede /emulators
parent2fbf1c09ac5f0a77a47eb603a9a5e76b8470f3ff (diff)
downloadports-5f619fe147e1bac3646c7ba3cd67774e56788969.tar.gz
ports-5f619fe147e1bac3646c7ba3cd67774e56788969.zip
Notes
Diffstat (limited to 'emulators')
-rw-r--r--emulators/virtualbox-ose-additions/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/emulators/virtualbox-ose-additions/Makefile b/emulators/virtualbox-ose-additions/Makefile
index ec4aa5dce167..e3a613387ec7 100644
--- a/emulators/virtualbox-ose-additions/Makefile
+++ b/emulators/virtualbox-ose-additions/Makefile
@@ -7,6 +7,7 @@
PORTNAME= virtualbox-ose
DISTVERSION= 4.1.14
+PORTREVISION= 1
CATEGORIES= emulators kld
MASTER_SITES= http://tmp.chruetertee.ch/ \
http://freebsd.unixfreunde.de/sources/ \
@@ -67,7 +68,7 @@ KMK_BUILDTYPE= debug
.if !defined(WITHOUT_X11)
VBOX_WITH_X11= 1
-USE_XORG= xcursor xmu inputproto xrandr
+USE_XORG= xcursor xmu inputproto xorg-server xrandr
PLIST_SUB+= X11=""
.else
VBOX_WITH_X11=
@@ -86,6 +87,8 @@ KMK_ARCH= freebsd.x86
KMK_ARCH= freebsd.${ARCH}
.endif
+XSERVER_ABI:= ${XSERVER_VER:S/.//:R}
+
.if !exists(${SRC_BASE}/sys/kern/bus_if.m)
IGNORE= requires kernel sources
.endif
@@ -155,10 +158,10 @@ do-install:
${PREFIX}/share/autostart/
${MKDIR} ${VIDEODIR}
- ${INSTALL_DATA} ${VBOX_BIN}/vboxvideo_drv_17.so ${VIDEODIR}/vboxvideo_drv.so
+ ${INSTALL_DATA} ${VBOX_BIN}/vboxvideo_drv_${XSERVER_ABI}.so ${VIDEODIR}/vboxvideo_drv.so
${MKDIR} ${INPUTDIR}
- ${INSTALL_DATA} ${VBOX_BIN}/vboxmouse_drv_17.so ${INPUTDIR}/vboxmouse_drv.so
+ ${INSTALL_DATA} ${VBOX_BIN}/vboxmouse_drv_${XSERVER_ABI}.so ${INPUTDIR}/vboxmouse_drv.so
.endif
post-install: