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 NetBSD/aarch64 with clang.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/85391e5374c0
branches:  trunk
changeset: 380715:85391e5374c0
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Sun May 20 10:57:40 2018 +0000

description:
Fix build on NetBSD/aarch64 with clang.

diffstat:

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

diffs (21 lines):

diff -r d18e824710d6 -r 85391e5374c0 audio/pulseaudio/Makefile
--- a/audio/pulseaudio/Makefile Sun May 20 10:56:23 2018 +0000
+++ b/audio/pulseaudio/Makefile Sun May 20 10:57:40 2018 +0000
@@ -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+=       --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))



Home | Main Index | Thread Index | Old Index