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 - build with ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/66fdf5998cc5
branches:  trunk
changeset: 398298:66fdf5998cc5
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Jul 15 18:47:20 2019 +0000

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

diffstat:

 audio/cmus/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r d6d352990355 -r 66fdf5998cc5 audio/cmus/Makefile
--- a/audio/cmus/Makefile       Mon Jul 15 18:44:32 2019 +0000
+++ b/audio/cmus/Makefile       Mon Jul 15 18:47:20 2019 +0000
@@ -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 @@
 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