diff options
author | nia <nia@pkgsrc.org> | 2020-11-13 16:09:47 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-11-13 16:09:47 +0000 |
commit | d2aa8db2cc96fab29e717e0975ed83939af936c5 (patch) | |
tree | fbd7682acb693cfbe49dc8b0255eaa2dd182ac88 /audio/audacity/Makefile | |
parent | f95d52d6245c795b0cc3210327c343501b643258 (diff) | |
download | pkgsrc-d2aa8db2cc96fab29e717e0975ed83939af936c5.tar.gz |
audacity: Needs 64-bit atomic ops on powerpc
Diffstat (limited to 'audio/audacity/Makefile')
-rw-r--r-- | audio/audacity/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/audio/audacity/Makefile b/audio/audacity/Makefile index 607b1b20316..0958972a238 100644 --- a/audio/audacity/Makefile +++ b/audio/audacity/Makefile @@ -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 @@ CONFIGURE_ARGS+= --with-soundtouch="system" .include "../../mk/bsd.prefs.mk" -.if ${MACHINE_ARCH} == "i386" # 64 bit atomic ops are required + +.if ${MACHINE_ARCH} == "i386" 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 |