pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2019Q2]: pkgsrc/audio/cmus Pullup ticket #6001 - requested by nia



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5cf3215b37d9
branches:  pkgsrc-2019Q2
changeset: 336606:5cf3215b37d9
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Thu Jul 18 13:17:06 2019 +0000

description:
Pullup ticket #6001 - requested by nia
audio/cmus: i386 build fix

Revisions pulled up:
- audio/cmus/Makefile                                           1.80

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

diffstat:

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

diffs (21 lines):

diff -r 13ef9460632c -r 5cf3215b37d9 audio/cmus/Makefile
--- a/audio/cmus/Makefile       Thu Jul 18 13:15:37 2019 +0000
+++ b/audio/cmus/Makefile       Thu Jul 18 13:17:06 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.77 2019/06/21 13:46:04 nia Exp $
+# $NetBSD: Makefile,v 1.77.2.1 2019/07/18 13:17:06 bsiegert Exp $
 
 DISTNAME=              cmus-2.8.0
 CATEGORIES=            audio
@@ -44,6 +44,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