diff options
author | Christoph Moench-Tegeder <cmt@FreeBSD.org> | 2022-04-26 18:49:11 +0000 |
---|---|---|
committer | Christoph Moench-Tegeder <cmt@FreeBSD.org> | 2022-04-26 18:49:11 +0000 |
commit | 48a481f83ecbb669a22c2c9f9dc3712bf5a7b71c (patch) | |
tree | 80b934cbdf4a477506b4f221486a7181d8488668 /Mk/bsd.gecko.mk | |
parent | f80d576e2d53dd9956aef095a36e8d723a4cb173 (diff) | |
download | ports-48a481f83ecbb669a22c2c9f9dc3712bf5a7b71c.tar.gz ports-48a481f83ecbb669a22c2c9f9dc3712bf5a7b71c.zip |
www/firefox: fix build with sndio
upstream sndio handling was fixed for non-OpenBSD systems:
https://bugzilla.mozilla.org/show_bug.cgi?id=1351378
so our own "fixing" actually broke build.
PR: 263587
Reported by: Robert Cina, jkim@
Diffstat (limited to 'Mk/bsd.gecko.mk')
-rw-r--r-- | Mk/bsd.gecko.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk index eef9db747685..cee597e4e465 100644 --- a/Mk/bsd.gecko.mk +++ b/Mk/bsd.gecko.mk @@ -270,10 +270,15 @@ 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 +. endif +. else +MOZ_OPTIONS+= --disable-sndio . endif . if ${PORT_OPTIONS:MDEBUG} |