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:           Mon Jul 15 18:47:20 UTC 2019

Modified Files:
        pkgsrc/audio/cmus: Makefile

Log Message:
cmus: Needs 64-bit atomic ops - build with -march=i586 on i386.


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 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.79 pkgsrc/audio/cmus/Makefile:1.80
--- pkgsrc/audio/cmus/Makefile:1.79     Tue Jul  2 06:23:50 2019
+++ pkgsrc/audio/cmus/Makefile  Mon Jul 15 18:47:20 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.79 2019/07/02 06:23:50 nia Exp $
+# $NetBSD: Makefile,v 1.80 2019/07/15 18:47:20 nia Exp $
 
 DISTNAME=              cmus-2.8.0
 CATEGORIES=            audio
@@ -47,6 +47,11 @@ CONFIGURE_ARGS+=     CONFIG_SUN=n
 PLIST.coreaudio=       yes
 .endif
 
+.if ${MACHINE_ARCH} == "i386"
+# 64 bit atomic ops are required
+CXXFLAGS+=     -march=i586
+.endif
+
 NOT_PAX_MPROTECT_SAFE+=        bin/cmus
 
 .include "options.mk"



Home | Main Index | Thread Index | Old Index