pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/pulseaudio Fix build on Darwin/clang.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/70c96156649a
branches:  trunk
changeset: 351116:70c96156649a
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Aug 15 09:26:20 2016 +0000

description:
Fix build on Darwin/clang.

diffstat:

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

diffs (24 lines):

diff -r 0eb0f0d4e421 -r 70c96156649a audio/pulseaudio/Makefile
--- a/audio/pulseaudio/Makefile Mon Aug 15 06:20:20 2016 +0000
+++ b/audio/pulseaudio/Makefile Mon Aug 15 09:26:20 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.111 2016/08/06 15:56:50 richard Exp $
+# $NetBSD: Makefile,v 1.112 2016/08/15 09:26:20 jperkin Exp $
 
 DISTNAME=      pulseaudio-9.0
 CATEGORIES=    audio
@@ -20,10 +20,13 @@
 REPLACE_BASH=  shell-completion/bash/pulseaudio git-version-gen
 
 .include "../../mk/bsd.prefs.mk"
+
 # Some tests are incompatible for NetBSD at least
 CONFIGURE_ARGS.NetBSD+=        --disable-default-build-tests
-.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[45].*)
+
 # broken test for TLS
+.if ((${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[45].*)) || \
+     (${OPSYS} == "Darwin" && ${PKGSRC_COMPILER} == "clang"))
 CONFIGURE_ENV+=                ac_cv_tls=none
 .endif
 



Home | Main Index | Thread Index | Old Index