pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/audacity audacity: Needs 64-bit atomic ops - bui...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d6d352990355
branches:  trunk
changeset: 398297:d6d352990355
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Jul 15 18:44:32 2019 +0000

description:
audacity: Needs 64-bit atomic ops - build with -march=i586 on i386.

PR pkg/54353

diffstat:

 audio/audacity/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 5a121c37d14d -r d6d352990355 audio/audacity/Makefile
--- a/audio/audacity/Makefile   Mon Jul 15 18:43:54 2019 +0000
+++ b/audio/audacity/Makefile   Mon Jul 15 18:44:32 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.119 2019/06/04 23:09:51 nia Exp $
+# $NetBSD: Makefile,v 1.120 2019/07/15 18:44:32 nia Exp $
 
 DISTNAME=              audacity-2.3.2
 CATEGORIES=            audio
@@ -46,7 +46,6 @@
 CONFIGURE_ARGS+=       --with-widgetextra=local
 
 # for internal portaudio...
-
 .if ${OPSYS} == "Linux"
 CONFIGURE_ARGS+=       --with-alsa
 .else
@@ -54,6 +53,11 @@
 CONFIGURE_ENV+=                ac_cv_header_pa_linux_alsa_h=no
 .endif
 
+.if ${MACHINE_ARCH} == "i386"
+# 64 bit atomic ops are required
+CXXFLAGS+=     -march=i586
+.endif
+
 .include "../../mk/oss.buildlink3.mk"
 
 .if !empty(OSS_TYPE) && ${OSS_TYPE} != "none"



Home | Main Index | Thread Index | Old Index