1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

Mk/bsd.gecko.gk: fix sndio logic

my previous attempt at handling both firefox >= 100 and firefox-esr/
thunderbird at 91.x suffered a thinko.
This commit is contained in:
Christoph Moench-Tegeder 2022-04-26 23:20:50 +02:00
parent b71a11deeb
commit 21791843fe

View File

@ -270,15 +270,18 @@ MOZ_OPTIONS+= --disable-pulseaudio
. if ${PORT_OPTIONS:MSNDIO}
BUILD_DEPENDS+= ${LOCALBASE}/include/sndio.h:audio/sndio
MOZ_OPTIONS+= --enable-sndio
. if ${MOZILLA_VER:R:R} < 100
post-patch-SNDIO-on:
@${REINPLACE_CMD} -e 's|OpenBSD|${OPSYS}|g' \
-e '/DISABLE_LIBSNDIO_DLOPEN/d' \
${MOZSRC}/media/libcubeb/src/moz.build
. else
MOZ_OPTIONS+= --enable-sndio
. endif
. else
. if ${MOZILLA_VER:R:R} >= 100
MOZ_OPTIONS+= --disable-sndio
. endif
. endif
. if ${PORT_OPTIONS:MDEBUG}