pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/libsbsms enable for all platforms, and pass --di...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6568963ee62e
branches:  trunk
changeset: 325187:6568963ee62e
user:      mrg <mrg%pkgsrc.org@localhost>
date:      Sun Nov 11 00:17:04 2018 +0000

description:
enable for all platforms, and pass --disable-sse on non x86 platforms.

with this, audacity runs fine on arm64.

diffstat:

 audio/libsbsms/Makefile |  13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diffs (32 lines):

diff -r 663efb571406 -r 6568963ee62e audio/libsbsms/Makefile
--- a/audio/libsbsms/Makefile   Sat Nov 10 21:35:07 2018 +0000
+++ b/audio/libsbsms/Makefile   Sun Nov 11 00:17:04 2018 +0000
@@ -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 @@
 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 @@
 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