pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2019Q2]: pkgsrc/audio/audacity Pullup ticket #6000 - requested...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4a29b7f3171d
branches:  pkgsrc-2019Q2
changeset: 408161:4a29b7f3171d
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Thu Jul 18 13:15:37 2019 +0000

description:
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

diffstat:

 audio/audacity/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r cc78e440860f -r 4a29b7f3171d audio/audacity/Makefile
--- a/audio/audacity/Makefile   Thu Jul 18 13:11:59 2019 +0000
+++ b/audio/audacity/Makefile   Thu Jul 18 13:15:37 2019 +0000
@@ -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-widgetextra=local
 
 # for internal portaudio...
-
 .if ${OPSYS} == "Linux"
 CONFIGURE_ARGS+=       --with-alsa
 .else
@@ -54,6 +53,11 @@
 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