pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/libmad



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Jun 13 06:40:48 UTC 2021

Modified Files:
        pkgsrc/audio/libmad: Makefile

Log Message:
libmad: disable ASM on mips64


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/audio/libmad/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/libmad/Makefile
diff -u pkgsrc/audio/libmad/Makefile:1.22 pkgsrc/audio/libmad/Makefile:1.23
--- pkgsrc/audio/libmad/Makefile:1.22   Wed Jul 10 20:01:57 2019
+++ pkgsrc/audio/libmad/Makefile        Sun Jun 13 06:40:48 2021
@@ -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 @@ USE_TOOLS+=          pkg-config
 
 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