pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/audio/libsbsms
Module Name: pkgsrc
Committed By: mrg
Date: Sun Nov 11 00:17:04 UTC 2018
Modified Files:
pkgsrc/audio/libsbsms: Makefile
Log Message:
enable for all platforms, and pass --disable-sse on non x86 platforms.
with this, audacity runs fine on arm64.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/audio/libsbsms/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/libsbsms/Makefile
diff -u pkgsrc/audio/libsbsms/Makefile:1.4 pkgsrc/audio/libsbsms/Makefile:1.5
--- pkgsrc/audio/libsbsms/Makefile:1.4 Sun Mar 4 18:26:42 2018
+++ pkgsrc/audio/libsbsms/Makefile Sun Nov 11 00:17:04 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2018/03/04 18:26:42 rillig Exp $
+# $NetBSD: Makefile,v 1.5 2018/11/11 00:17:04 mrg Exp $
DISTNAME= libsbsms-2.0.2
CATEGORIES= audio
@@ -9,11 +9,6 @@ HOMEPAGE= http://sbsms.sourceforge.net/
COMMENT= Subband Sinusoidal Modeling Synthesis
LICENSE= gnu-gpl-v2
-# configure script demands -msse; should be taught to use altivec and
-# whatever else on other platforms. Except where nonexistent.
-BROKEN_EXCEPT_ON_PLATFORM= *-*-i386 *-*-x86_64
-NOT_FOR_PLATFORM= *-*-m68k
-
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
@@ -22,4 +17,10 @@ USE_LANGUAGES= c c++
PKGCONFIG_OVERRIDE+= sbsms.pc.in
CONFIGURE_ARGS+= --enable-shared=yes
+.include "../../mk/bsd.prefs.mk"
+
+.if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "x86_64"
+CONFIGURE_ARGS+= --disable-sse
+.endif
+
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index