pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/audio/cmus



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Nov 13 16:10:43 UTC 2020

Modified Files:
        pkgsrc/audio/cmus: Makefile

Log Message:
cmus: Needs 64-bit atomic ops on powerpc


To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 pkgsrc/audio/cmus/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/cmus/Makefile
diff -u pkgsrc/audio/cmus/Makefile:1.89 pkgsrc/audio/cmus/Makefile:1.90
--- pkgsrc/audio/cmus/Makefile:1.89     Fri Nov  6 12:21:17 2020
+++ pkgsrc/audio/cmus/Makefile  Fri Nov 13 16:10:43 2020
@@ -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"



Home | Main Index | Thread Index | Old Index