From 2daaa1897406cbf2522aca10d79cf6ff8ecc319d Mon Sep 17 00:00:00 2001 From: jmcneill Date: Sun, 20 May 2018 10:57:40 +0000 Subject: Fix build on NetBSD/aarch64 with clang. --- audio/pulseaudio/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'audio/pulseaudio') 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)) -- cgit v1.2.3