pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/pulseaudio Test for clang with "!empty(PKGSRC_CO...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c948bdb6df60
branches:  trunk
changeset: 354831:c948bdb6df60
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Sat Nov 12 00:50:19 2016 +0000

description:
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:

 audio/pulseaudio/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 1d03b48cf622 -r c948bdb6df60 audio/pulseaudio/Makefile
--- a/audio/pulseaudio/Makefile Fri Nov 11 19:49:06 2016 +0000
+++ b/audio/pulseaudio/Makefile Sat Nov 12 00:50:19 2016 +0000
@@ -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 @@
 
 # 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
 



Home | Main Index | Thread Index | Old Index