diff options
author | nia <nia@pkgsrc.org> | 2020-11-13 16:10:43 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-11-13 16:10:43 +0000 |
commit | 741a355078439eb0dbaeb8ffd46a392adce9253b (patch) | |
tree | c34526ee08019c88fa2059d90cb0c389bd9e0d12 /audio | |
parent | d2aa8db2cc96fab29e717e0975ed83939af936c5 (diff) | |
download | pkgsrc-741a355078439eb0dbaeb8ffd46a392adce9253b.tar.gz |
cmus: Needs 64-bit atomic ops on powerpc
Diffstat (limited to 'audio')
-rw-r--r-- | audio/cmus/Makefile | 9 |
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" |