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 on po...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/171c81f49ea1
branches:  trunk
changeset: 441914:171c81f49ea1
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Nov 13 16:09:47 2020 +0000

description:
audacity: Needs 64-bit atomic ops on powerpc

diffstat:

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

diffs (27 lines):

diff -r f3e4bb935564 -r 171c81f49ea1 audio/audacity/Makefile
--- a/audio/audacity/Makefile   Fri Nov 13 14:07:23 2020 +0000
+++ b/audio/audacity/Makefile   Fri Nov 13 16:09:47 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.136 2020/08/18 17:57:34 leot Exp $
+# $NetBSD: Makefile,v 1.137 2020/11/13 16:09:47 nia Exp $
 
 DISTNAME=      audacity-2.4.1
 PKGREVISION=   2
@@ -53,11 +53,16 @@
 
 .include "../../mk/bsd.prefs.mk"
 
+# 64 bit atomic ops are required
+
 .if ${MACHINE_ARCH} == "i386"
-# 64 bit atomic ops are required
 CXXFLAGS+=             -march=i586
 .endif
 
+.if ${MACHINE_ARCH} == "powerpc"
+.include "../../devel/libatomic/buildlink3.mk"
+.endif
+
 .if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "x86_64"
 CONFIGURE_ARGS+=       --disable-sse
 .endif



Home | Main Index | Thread Index | Old Index