summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2018-05-20 10:57:40 +0000
committerjmcneill <jmcneill@pkgsrc.org>2018-05-20 10:57:40 +0000
commit2daaa1897406cbf2522aca10d79cf6ff8ecc319d (patch)
tree524f37104738f38e7b3ef686c609319bd4c4f8cd /audio
parent139e15a7d335864024a37f570064160934428de1 (diff)
downloadpkgsrc-2daaa1897406cbf2522aca10d79cf6ff8ecc319d.tar.gz
Fix build on NetBSD/aarch64 with clang.
Diffstat (limited to 'audio')
-rw-r--r--audio/pulseaudio/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/audio/pulseaudio/Makefile b/audio/pulseaudio/Makefile
index 762a78a7842..d68ca7e40e7 100644
--- a/audio/pulseaudio/Makefile
+++ b/audio/pulseaudio/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.126 2018/04/16 14:34:08 wiz Exp $
+# $NetBSD: Makefile,v 1.127 2018/05/20 10:57:40 jmcneill Exp $
DISTNAME= pulseaudio-11.1
PKGREVISION= 5
@@ -49,6 +49,11 @@ CONFIGURE_ARGS+= --disable-tcpwrap
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR:Q}
+# Disable NEON on NetBSD/aarch64 (does not build with pulseaudio 11.1)
+.if !empty(PKGSRC_COMPILER:Mclang) && ${OPSYS} == "NetBSD" && ${MACHINE_CPU} == "aarch64"
+CONFIGURE_ARGS+= --disable-neon-opt
+.endif
+
# Use native atomic ops on NetBSD >= 5.0, otherwise
# fallback to libatomic_ops
.if !(${OPSYS} == "NetBSD" && exists(/usr/include/sys/atomic.h))