From 643ae61e64622997de7c6ceac1f849a8914cf1bd Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Sun, 22 Jan 2017 00:18:00 +0000 Subject: www/chromium: only pull pulseaudio for build When both ALSA and PULSEAUDIO are selected there's no reason to pull pulseaudio package but Chromium can still use it if already installed. PR: 216327 --- www/chromium/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/www/chromium/Makefile b/www/chromium/Makefile index 493c918e6762..04d0ea0fcde8 100644 --- a/www/chromium/Makefile +++ b/www/chromium/Makefile @@ -3,6 +3,7 @@ PORTNAME= chromium PORTVERSION= 55.0.2883.87 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://commondatastorage.googleapis.com/chromium-browser-official/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} # default, but needed to get distinfo correct if TEST is on @@ -117,7 +118,8 @@ GCONF_USE= GNOME=gconf2 ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins \ alsa-lib>=1.1.1_1:audio/alsa-lib -PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio +ALSA_RUN_DEPENDS_OFF= ${BUILD_DEPENDS:M*pulseaudio*} +PULSEAUDIO_BUILD_DEPENDS= pulseaudio>0:audio/pulseaudio DRIVER_MAKE_ARGS=chromedriver TEST_DISTFILES= ${PORTNAME}-${DISTVERSION}-testdata${EXTRACT_SUFX}