diff options
author | gdt <gdt@pkgsrc.org> | 2016-11-12 00:50:19 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2016-11-12 00:50:19 +0000 |
commit | 9827dbf14f650fe6868bcc2fc216ecd58f99fca8 (patch) | |
tree | cc64d4c8e3e9d05d5ca07a5ebf861dd7cda70631 /audio | |
parent | 3bad96b4d2f2dfe46b19d461fc71af7d0ed533b7 (diff) | |
download | pkgsrc-9827dbf14f650fe6868bcc2fc216ecd58f99fca8.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/Makefile | 4 |
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 |