aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2017-09-27 12:11:49 +0800
committerjbeich <jbeich@FreeBSD.org>2017-09-27 12:11:49 +0800
commit3bcc4e17abe0b08ee0a3d63882f9d67686d0db70 (patch)
treedd4917e149e7f18c10d0a6d91557000848cd07fa /Mk
parent98fb12a27b613c4ec7a1d51a034d3781c4171e44 (diff)
downloadfreebsd-ports-gnome-3bcc4e17abe0b08ee0a3d63882f9d67686d0db70.tar.gz
freebsd-ports-gnome-3bcc4e17abe0b08ee0a3d63882f9d67686d0db70.tar.zst
freebsd-ports-gnome-3bcc4e17abe0b08ee0a3d63882f9d67686d0db70.zip
gecko: PULSEAUDIO-only builds can fallback to OSS
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.gecko.mk7
1 files changed, 1 insertions, 6 deletions
diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk
index 05460ac18bfc..3656b5ff7e57 100644
--- a/Mk/bsd.gecko.mk
+++ b/Mk/bsd.gecko.mk
@@ -359,12 +359,7 @@ MOZ_OPTIONS+= --enable-alsa
.endif
.if ${PORT_OPTIONS:MPULSEAUDIO}
-. if ${PORT_OPTIONS:MALSA}
-BUILD_DEPENDS+= pulseaudio>0:audio/pulseaudio
-. else
-# pull pulse package if we cannot fallback to another backend
-LIB_DEPENDS+= libpulse.so:audio/pulseaudio
-. endif
+BUILD_DEPENDS+= ${LOCALBASE}/include/pulse/pulseaudio.h:audio/pulseaudio
MOZ_OPTIONS+= --enable-pulseaudio
.else
MOZ_OPTIONS+= --disable-pulseaudio