aboutsummaryrefslogtreecommitdiff
path: root/emulators/virtualbox-ose-72/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/virtualbox-ose-72/Makefile')
-rw-r--r--emulators/virtualbox-ose-72/Makefile22
1 files changed, 14 insertions, 8 deletions
diff --git a/emulators/virtualbox-ose-72/Makefile b/emulators/virtualbox-ose-72/Makefile
index 3110b3efe1aa..f003955ce5e6 100644
--- a/emulators/virtualbox-ose-72/Makefile
+++ b/emulators/virtualbox-ose-72/Makefile
@@ -1,6 +1,6 @@
PORTNAME= virtualbox-ose
-DISTVERSION= 7.2.0
-PORTREVISION?= 0
+DISTVERSION= 7.2.2
+PORTREVISION?= 1
CATEGORIES= emulators
MASTER_SITES= https://download.virtualbox.org/virtualbox/${DISTVERSION}/:src \
LOCAL/vvd:docs
@@ -22,6 +22,7 @@ ONLY_FOR_ARCHS= amd64
BUILD_DEPENDS= gtar:archivers/gtar \
kmk:devel/kBuild \
yasm:devel/yasm \
+ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \
xsltproc:textproc/libxslt
LIB_DEPENDS= libpng.so:graphics/png \
libcurl.so:ftp/curl
@@ -78,10 +79,10 @@ PLIST_SUB= GUEST_VER=${DISTVERSION} \
SLAVE_PORT?= no
-OPTIONS_DEFINE= AIO ALSA DBUS DEBUG DOCS GUESTADDITIONS NLS OGG PULSEAUDIO \
- PYTHON QT6 R0LOGGING UDPTUNNEL VBOXIMG VDE VNC VORBIS VPX \
- WEBSERVICE X11
-OPTIONS_DEFAULT= AIO DBUS QT6 UDPTUNNEL VNC WEBSERVICE X11
+OPTIONS_DEFINE= AIO ALSA DBUS DEBUG DOCS GUESTADDITIONS NLS OGG \
+ PULSEAUDIO PYTHON QT6 R0LOGGING TPM UDPTUNNEL VBOXIMG \
+ VDE VNC VORBIS VPX WEBSERVICE X11
+OPTIONS_DEFAULT= AIO DBUS QT6 TPM UDPTUNNEL VNC WEBSERVICE X11
.if ${SLAVE_PORT} == no
OPTIONS_DEFAULT+= PYTHON
.endif
@@ -95,8 +96,9 @@ DEBUG_DESC= Debug symbols, additional logs and assertions
GUESTADDITIONS_DESC= Build with Guest Additions
NLS_DESC= Native language support (requires QT6)
OGG_DESC= Use libogg from audio/libogg instead of bundled one
-QT6_DESC= Build with QT6 frontend (requires X11)
+QT6_DESC= Build with Qt6 frontend (requires X11)
R0LOGGING_DESC= Enable R0 logging (requires DEBUG)
+TPM_DESC= Enable TPM device emulation using sysutils/libtpms
UDPTUNNEL_DESC= Build with UDP tunnel support
VBOXIMG_DESC= Build vboximg-mount (requires fuse-libs)
VDE_DESC= Build with VDE support
@@ -121,11 +123,13 @@ PYTHON_USE= PYTHON=distutils,noegginfo,noflavors
PYTHON_CONFIGURE_OFF= --disable-python
PYTHON_VARS= pydistutils_pkgname=vboxapi pydistutils_pkgversion=1.0
QT6_IMPLIES= X11
-QT6_USES= gl qmake:no_env qt:6 xorg
+QT6_USES= gl qmake:no_env xorg
QT6_USE= QT=base,scxml,tools,translations \
XORG=xcb GL=gl
QT6_CONFIGURE_OFF= --disable-qt
R0LOGGING_IMPLIES= DEBUG
+TPM_LIB_DEPENDS= libtpms.so:sysutils/libtpms
+TPM_CONFIGURE_OFF= --disable-libtpms
UDPTUNNEL_CONFIGURE_OFF= --disable-udptunnel
VBOXIMG_LIB_DEPENDS= libfuse.so.2:filesystems/fusefs-libs
VDE_RUN_DEPENDS= vde_switch:net/vde2
@@ -317,6 +321,8 @@ post-patch:
@${REINPLACE_CMD} \
-e 's|^versions =.*|versions = ["${PYTHON_VER}${PYTHON_ABIVER}"]|' \
${WRKSRC}/src/libs/xpcom18a4/python/gen_python_deps.py
+ @${REINPLACE_CMD} -e 's|curl_proxytype|long|g' \
+ ${WRKSRC}/src/VBox/Runtime/generic/http-curl.cpp
post-patch-AIO-off:
@${REINPLACE_CMD} 's|r3/freebsd/fileaio-freebsd.cpp|r3/posix/fileaio-posix.cpp|' \