1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

emulators/virtualbox-ose: Avoid overwriting slave ports OPTIONS_EXCLUDE

To disable the PULSEAUDIO option I used the OPTIONS_EXCLUDE variable
in commit 416b34d584.

Turns out this overwrites OPTIONS_EXCLUDE from slave ports. I'm
fixing this by only adding the PULSEAUDIO exclusion to the existing
EXCLUDE variable if defined.

NOTE: While it would be enough to bump PORTREVISION in the slave
port, I'm bumping PORTREVISION on master port to avoid adding
variables that are easily forgotten in future changes and could
cause even more breakage.

PR:		258256
Pointy Hat:	myself
This commit is contained in:
Guido Falsi 2021-09-03 21:49:46 +02:00
parent b1c576cb78
commit 1dfc4d117b

View File

@ -2,6 +2,7 @@
PORTNAME= virtualbox-ose
PORTVERSION= 6.1.26
PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= https://download.virtualbox.org/virtualbox/${PORTVERSION}/
DISTFILES= VirtualBox-${PORTVERSION}${EXTRACT_SUFX} ${GUESTADDITIONS}
@ -57,7 +58,7 @@ OPTIONS_DEFINE= AIO ALSA DBUS DEBUG GUESTADDITIONS MANUAL NLS OPUS PULSEAUDIO \
OPTIONS_DEFAULT= AIO DBUS QT5 UDPTUNNEL VNC WEBSERVICE X11
# Since version 6.1.24 pulseaudio is broken at runtime, preventing
# virtual machines from starting if configured to use it.
OPTIONS_EXCLUDE= PULSEAUDIO
OPTIONS_EXCLUDE+= PULSEAUDIO
OPTIONS_SUB= yes
AIO_DESC= Enable Asyncronous IO support (check pkg-message)