diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2018-01-25 23:07:53 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2018-01-25 23:07:53 +0000 |
commit | 4486ce76f754c0dbe62a03067d0a0bb9d41ee60c (patch) | |
tree | 6c108114941abeed1e129eb51faf3779d148d9f5 /emulators/virtualbox-ose-additions | |
parent | f6194b49f032ce15225d5ac96286766832587a4d (diff) | |
download | ports-4486ce76f754c0dbe62a03067d0a0bb9d41ee60c.tar.gz ports-4486ce76f754c0dbe62a03067d0a0bb9d41ee60c.zip |
Notes
Diffstat (limited to 'emulators/virtualbox-ose-additions')
-rw-r--r-- | emulators/virtualbox-ose-additions/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/emulators/virtualbox-ose-additions/Makefile b/emulators/virtualbox-ose-additions/Makefile index 0befb4526e16..750a6099c049 100644 --- a/emulators/virtualbox-ose-additions/Makefile +++ b/emulators/virtualbox-ose-additions/Makefile @@ -3,6 +3,7 @@ PORTNAME= virtualbox-ose PORTVERSION= 5.2.6 +PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= http://download.virtualbox.org/virtualbox/${PORTVERSION}/ PKGNAMESUFFIX?= -additions @@ -99,7 +100,8 @@ VBOX_LIBS= VBoxEGL.so \ .endif .if ${PORT_OPTIONS:MX11} -BUILD_DEPENDS+= ${LOCALBASE}/bin/X:x11-servers/xorg-server +BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/xorg-server.pc:x11-servers/xorg-server +RUN_DEPENDS+= xrandr:x11/xrandr USE_XORG+= inputproto x11 xcursor xext xmu xorg-server xrandr xt USES+= pkgconfig VBOX_WITH_X11= 1 @@ -149,6 +151,8 @@ post-patch: -e 's| -fno-merge-constants||' \ -e 's| -mpreferred-stack-boundary=2||' ${WRKSRC}/Config.kmk .endif + @${REINPLACE_CMD} -e 's|/usr/X11|${LOCALBASE}|g' \ + ${WRKSRC}/src/VBox/Additions/x11/VBoxClient/display.cpp @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/Config.kmk ${WRKSRC}/configure \ ${WRKSRC}/kBuild/header.kmk ${WRKSRC}/kBuild/units/qt4.kmk \ |