summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-11-13 16:10:43 +0000
committernia <nia@pkgsrc.org>2020-11-13 16:10:43 +0000
commit741a355078439eb0dbaeb8ffd46a392adce9253b (patch)
treec34526ee08019c88fa2059d90cb0c389bd9e0d12 /audio
parentd2aa8db2cc96fab29e717e0975ed83939af936c5 (diff)
downloadpkgsrc-741a355078439eb0dbaeb8ffd46a392adce9253b.tar.gz
cmus: Needs 64-bit atomic ops on powerpc
Diffstat (limited to 'audio')
-rw-r--r--audio/cmus/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/audio/cmus/Makefile b/audio/cmus/Makefile
index e12c4920478..16ec3c78226 100644
--- a/audio/cmus/Makefile
+++ b/audio/cmus/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.89 2020/11/06 12:21:17 nia Exp $
+# $NetBSD: Makefile,v 1.90 2020/11/13 16:10:43 nia Exp $
DISTNAME= cmus-2.8.0
PKGREVISION= 7
@@ -47,11 +47,16 @@ CONFIGURE_ARGS+= CONFIG_SUN=n
PLIST.coreaudio= yes
.endif
-.if ${MACHINE_ARCH} == "i386"
# 64 bit atomic ops are required
+
+.if ${MACHINE_ARCH} == "i386"
CFLAGS+= -march=i586
.endif
+.if ${MACHINE_ARCH} == "powerpc"
+.include "../../devel/libatomic/buildlink3.mk"
+.endif
+
.include "options.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"