pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/x264-devel Don't --disable-asm on Darwin-*-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/427cffda768d
branches:  trunk
changeset: 771814:427cffda768d
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Mon Dec 27 20:24:03 2021 +0000

description:
Don't --disable-asm on Darwin-*-aarch64. At least on Monterey 12.1,
--disable-asm makes the build fail with undefined symbols largely
matching "*_asm" or "*_aarch64". Simply removing it from CONFIGURE_ARGS
lets the build succeed.

(If --disable-asm turns out to be needed for older macOS/aarch64, we can
bring it back conditionalized on OS_VERSION.)

diffstat:

 multimedia/x264-devel/Makefile |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 23f13e982c4e -r 427cffda768d multimedia/x264-devel/Makefile
--- a/multimedia/x264-devel/Makefile    Mon Dec 27 14:16:30 2021 +0000
+++ b/multimedia/x264-devel/Makefile    Mon Dec 27 20:24:03 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.80 2021/11/24 17:31:01 nia Exp $
+# $NetBSD: Makefile,v 1.81 2021/12/27 20:24:03 schmonz Exp $
 
 DISTNAME=      x264-snapshot-20191217-2245
 PKGNAME=       ${DISTNAME:S/-snapshot-/-devel-/:S/-2245$//}
@@ -19,7 +19,6 @@
 # NetBSD/mips needs ASM disabled because it uses the MSA extension
 # (requires MIPS64 revision 2) and fails to build.
 .if ${OPSYS} == "SunOS" || \
-    !empty(MACHINE_PLATFORM:MDarwin-*-aarch64) || \
     !empty(MACHINE_PLATFORM:MNetBSD-*-i386) || \
     !empty(MACHINE_PLATFORM:MNetBSD-*-mips*)
 CONFIGURE_ARGS+=       --disable-asm



Home | Main Index | Thread Index | Old Index