mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Add a missing run-time dependency, x11/xrandr.
Differential Revision: https://reviews.freebsd.org/D12803
This commit is contained in:
parent
f6194b49f0
commit
4486ce76f7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=459970
1 changed files with 5 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
PORTNAME= virtualbox-ose
|
PORTNAME= virtualbox-ose
|
||||||
PORTVERSION= 5.2.6
|
PORTVERSION= 5.2.6
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= emulators
|
CATEGORIES= emulators
|
||||||
MASTER_SITES= http://download.virtualbox.org/virtualbox/${PORTVERSION}/
|
MASTER_SITES= http://download.virtualbox.org/virtualbox/${PORTVERSION}/
|
||||||
PKGNAMESUFFIX?= -additions
|
PKGNAMESUFFIX?= -additions
|
||||||
|
@ -99,7 +100,8 @@ VBOX_LIBS= VBoxEGL.so \
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MX11}
|
.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
|
USE_XORG+= inputproto x11 xcursor xext xmu xorg-server xrandr xt
|
||||||
USES+= pkgconfig
|
USES+= pkgconfig
|
||||||
VBOX_WITH_X11= 1
|
VBOX_WITH_X11= 1
|
||||||
|
@ -149,6 +151,8 @@ post-patch:
|
||||||
-e 's| -fno-merge-constants||' \
|
-e 's| -fno-merge-constants||' \
|
||||||
-e 's| -mpreferred-stack-boundary=2||' ${WRKSRC}/Config.kmk
|
-e 's| -mpreferred-stack-boundary=2||' ${WRKSRC}/Config.kmk
|
||||||
.endif
|
.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' \
|
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
|
||||||
${WRKSRC}/Config.kmk ${WRKSRC}/configure \
|
${WRKSRC}/Config.kmk ${WRKSRC}/configure \
|
||||||
${WRKSRC}/kBuild/header.kmk ${WRKSRC}/kBuild/units/qt4.kmk \
|
${WRKSRC}/kBuild/header.kmk ${WRKSRC}/kBuild/units/qt4.kmk \
|
||||||
|
|
Loading…
Add table
Reference in a new issue