pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/audacity



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Nov 13 16:09:47 UTC 2020

Modified Files:
        pkgsrc/audio/audacity: Makefile

Log Message:
audacity: Needs 64-bit atomic ops on powerpc


To generate a diff of this commit:
cvs rdiff -u -r1.136 -r1.137 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.136 pkgsrc/audio/audacity/Makefile:1.137
--- pkgsrc/audio/audacity/Makefile:1.136        Tue Aug 18 17:57:34 2020
+++ pkgsrc/audio/audacity/Makefile      Fri Nov 13 16:09:47 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.136 2020/08/18 17:57:34 leot Exp $
+# $NetBSD: Makefile,v 1.137 2020/11/13 16:09:47 nia Exp $
 
 DISTNAME=      audacity-2.4.1
 PKGREVISION=   2
@@ -53,11 +53,16 @@ CONFIGURE_ARGS+=    --with-soundtouch="syst
 
 .include "../../mk/bsd.prefs.mk"
 
-.if ${MACHINE_ARCH} == "i386"
 # 64 bit atomic ops are required
+
+.if ${MACHINE_ARCH} == "i386"
 CXXFLAGS+=             -march=i586
 .endif
 
+.if ${MACHINE_ARCH} == "powerpc"
+.include "../../devel/libatomic/buildlink3.mk"
+.endif
+
 .if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "x86_64"
 CONFIGURE_ARGS+=       --disable-sse
 .endif



Home | Main Index | Thread Index | Old Index