pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/libmad libmad: disable ASM on mips64



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fa56d6e4b929
branches:  trunk
changeset: 454532:fa56d6e4b929
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Jun 13 06:40:48 2021 +0000

description:
libmad: disable ASM on mips64

diffstat:

 audio/libmad/Makefile |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 6ae22db7d264 -r fa56d6e4b929 audio/libmad/Makefile
--- a/audio/libmad/Makefile     Sun Jun 13 06:31:50 2021 +0000
+++ b/audio/libmad/Makefile     Sun Jun 13 06:40:48 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2019/07/10 20:01:57 nia Exp $
+# $NetBSD: Makefile,v 1.23 2021/06/13 06:40:48 nia Exp $
 #
 
 DISTNAME=      libmad-0.15.1b
@@ -19,6 +19,15 @@
 
 INSTALLATION_DIRS=     lib/pkgconfig
 
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(MACHINE_ARCH:Mmips64*)
+# Disable MIPS-specific ASM on MIPS64 due to:
+# error: impossible constraint in 'asm'
+CONFIGURE_ARGS+=       --enable-fpm=64bit
+CONFIGURE_ARGS+=       --disable-aso
+.endif
+
 post-build:
        ${SED}  -e 's,@PREFIX@,${PREFIX},g'                     \
                -e 's,@VERSION@,${PKGVERSION},g'                \



Home | Main Index | Thread Index | Old Index