pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/x264-devel x264-devel: Fix macOS/aarch64 bu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0d680537bce4
branches:  trunk
changeset: 372396:0d680537bce4
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Jan 24 11:08:41 2022 +0000

description:
x264-devel: Fix macOS/aarch64 build.

diffstat:

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

diffs (19 lines):

diff -r 09bde3cb71b1 -r 0d680537bce4 multimedia/x264-devel/Makefile
--- a/multimedia/x264-devel/Makefile    Mon Jan 24 11:07:56 2022 +0000
+++ b/multimedia/x264-devel/Makefile    Mon Jan 24 11:08:41 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.81 2021/12/27 20:24:03 schmonz Exp $
+# $NetBSD: Makefile,v 1.82 2022/01/24 11:08:41 jperkin Exp $
 
 DISTNAME=      x264-snapshot-20191217-2245
 PKGNAME=       ${DISTNAME:S/-snapshot-/-devel-/:S/-2245$//}
@@ -22,7 +22,8 @@
     !empty(MACHINE_PLATFORM:MNetBSD-*-i386) || \
     !empty(MACHINE_PLATFORM:MNetBSD-*-mips*)
 CONFIGURE_ARGS+=       --disable-asm
-.elif ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
+.elif ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" || \
+    (${OPSYS} == "Darwin" && ${MACHINE_ARCH} == "aarch64")
 TOOL_DEPENDS+=         nasm>=2.13.0:../../devel/nasm
 .endif
 



Home | Main Index | Thread Index | Old Index