pkgsrc-Changes archive

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

CVS commit: [pkgsrc-2019Q2] pkgsrc/audio/cmus



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Thu Jul 18 13:17:06 UTC 2019

Modified Files:
        pkgsrc/audio/cmus [pkgsrc-2019Q2]: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.77.2.1 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.77 pkgsrc/audio/cmus/Makefile:1.77.2.1
--- pkgsrc/audio/cmus/Makefile:1.77     Fri Jun 21 13:46:04 2019
+++ pkgsrc/audio/cmus/Makefile  Thu Jul 18 13:17:06 2019
@@ -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 @@ 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