summaryrefslogtreecommitdiff
path: root/audio/pulseaudio
diff options
context:
space:
mode:
authorjperkin <jperkin>2016-08-15 09:26:20 +0000
committerjperkin <jperkin>2016-08-15 09:26:20 +0000
commit14f4e2e787fb008128d124cbde96364ab664e122 (patch)
tree3ad1122c99b55b903039fcb3919e27a95bca8d0b /audio/pulseaudio
parentdd4bdfde9f83fe79d850938d59efc5f87ba003c5 (diff)
downloadpkgsrc-14f4e2e787fb008128d124cbde96364ab664e122.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