pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/cmus cmus: Needs 64-bit atomic ops on powerpc
details: https://anonhg.NetBSD.org/pkgsrc/rev/8c45c96899fd
branches: trunk
changeset: 441915:8c45c96899fd
user: nia <nia%pkgsrc.org@localhost>
date: Fri Nov 13 16:10:43 2020 +0000
description:
cmus: Needs 64-bit atomic ops on powerpc
diffstat:
audio/cmus/Makefile | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 171c81f49ea1 -r 8c45c96899fd audio/cmus/Makefile
--- a/audio/cmus/Makefile Fri Nov 13 16:09:47 2020 +0000
+++ b/audio/cmus/Makefile Fri Nov 13 16:10:43 2020 +0000
@@ -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 @@
PLIST.coreaudio= yes
.endif
+# 64 bit atomic ops are required
+
.if ${MACHINE_ARCH} == "i386"
-# 64 bit atomic ops are required
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"
Home |
Main Index |
Thread Index |
Old Index