summaryrefslogtreecommitdiff
path: root/audio/pulseaudio
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-08-15 09:26:20 +0000
committerjperkin <jperkin@pkgsrc.org>2016-08-15 09:26:20 +0000
commitb9f7ba052bd07a0e9271800624c6b75e1d36ac5e (patch)
tree5841224abcd6a11ba9a3bd9ca4db4cae2b5f60f6 /audio/pulseaudio
parentd088275b95f77af48cb79815c4672d7b0a414108 (diff)
downloadpkgsrc-b9f7ba052bd07a0e9271800624c6b75e1d36ac5e.tar.gz
Fix build on Darwin/clang.
Diffstat (limited to 'audio/pulseaudio')
-rw-r--r--audio/pulseaudio/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/audio/pulseaudio/Makefile b/audio/pulseaudio/Makefile
index d03f100318b..47672190651 100644
--- a/audio/pulseaudio/Makefile
+++ b/audio/pulseaudio/Makefile
@@ -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 @@ USE_LANGUAGES= c c++
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