summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2016-11-12 00:50:19 +0000
committergdt <gdt@pkgsrc.org>2016-11-12 00:50:19 +0000
commiteae5f0173a92fb2e6ff4509118e8522fce20950d (patch)
tree87aa02fbfebf71243db8f34bf4f0f7e8f4b5a24f /audio
parentd447bf0d45b84b317864189bfcda1ad70a313ba8 (diff)
downloadpkgsrc-eae5f0173a92fb2e6ff4509118e8522fce20950d.tar.gz
Test for clang with "!empty(PKGSRC_COMPILER:Mclang)"
Avoids failure to notice clang (and use tls workaround) when PKGSRC_COMPILER is "ccache clang" or similar. Resolves build failure; binary should be unchanged if it built before.
Diffstat (limited to 'audio')
-rw-r--r--audio/pulseaudio/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/pulseaudio/Makefile b/audio/pulseaudio/Makefile
index 2b0bd154ab9..4dc46f91b62 100644
--- a/audio/pulseaudio/Makefile
+++ b/audio/pulseaudio/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.114 2016/10/30 12:10:50 wiz Exp $
+# $NetBSD: Makefile,v 1.115 2016/11/12 00:50:19 gdt Exp $
DISTNAME= pulseaudio-9.0
PKGREVISION= 1
@@ -28,7 +28,7 @@ CONFIGURE_ARGS.NetBSD+= --disable-default-build-tests
# broken test for TLS
.if ((${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[45].*)) || \
- (${OPSYS} == "Darwin" && ${PKGSRC_COMPILER} == "clang"))
+ (${OPSYS} == "Darwin" && !empty(PKGSRC_COMPILER:Mclang)))
CONFIGURE_ENV+= ac_cv_tls=none
.endif