pkgsrc-Changes archive

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

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



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Thu Jul 18 13:15:37 UTC 2019

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

Log Message:
Pullup ticket #6000 - requested by nia
audio/audacity: i386 build fix

Revisions pulled up:
- audio/audacity/Makefile                                       1.120

---
   Module Name: pkgsrc
   Committed By:        nia
   Date:                Mon Jul 15 18:44:32 UTC 2019

   Modified Files:
        pkgsrc/audio/audacity: Makefile

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

   PR pkg/54353


To generate a diff of this commit:
cvs rdiff -u -r1.119 -r1.119.2.1 pkgsrc/audio/audacity/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/audacity/Makefile
diff -u pkgsrc/audio/audacity/Makefile:1.119 pkgsrc/audio/audacity/Makefile:1.119.2.1
--- pkgsrc/audio/audacity/Makefile:1.119        Tue Jun  4 23:09:51 2019
+++ pkgsrc/audio/audacity/Makefile      Thu Jul 18 13:15:37 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.119 2019/06/04 23:09:51 nia Exp $
+# $NetBSD: Makefile,v 1.119.2.1 2019/07/18 13:15:37 bsiegert Exp $
 
 DISTNAME=              audacity-2.3.2
 CATEGORIES=            audio
@@ -46,7 +46,6 @@ CONFIGURE_ARGS+=      --with-libsoxr=system
 CONFIGURE_ARGS+=       --with-widgetextra=local
 
 # for internal portaudio...
-
 .if ${OPSYS} == "Linux"
 CONFIGURE_ARGS+=       --with-alsa
 .else
@@ -54,6 +53,11 @@ CONFIGURE_ARGS+=     --without-alsa
 CONFIGURE_ENV+=                ac_cv_header_pa_linux_alsa_h=no
 .endif
 
+.if ${MACHINE_ARCH} == "i386"
+# 64 bit atomic ops are required
+CXXFLAGS+=     -march=i586
+.endif
+
 .include "../../mk/oss.buildlink3.mk"
 
 .if !empty(OSS_TYPE) && ${OSS_TYPE} != "none"



Home | Main Index | Thread Index | Old Index