summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrg <mrg@pkgsrc.org>2018-11-11 00:17:04 +0000
committermrg <mrg@pkgsrc.org>2018-11-11 00:17:04 +0000
commitd808596723ecda42cf80d809ee11bbba121d5992 (patch)
tree7c20bb02f1d5b85058df6245cb11e593d70a211b
parent965ee405cca98b7200f960cf06f5691a2682c5a2 (diff)
downloadpkgsrc-d808596723ecda42cf80d809ee11bbba121d5992.tar.gz
enable for all platforms, and pass --disable-sse on non x86 platforms.
with this, audacity runs fine on arm64.
-rw-r--r--audio/libsbsms/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/audio/libsbsms/Makefile b/audio/libsbsms/Makefile
index e30d4851d6a..20854fe215c 100644
--- a/audio/libsbsms/Makefile
+++ b/audio/libsbsms/Makefile
@@ -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"