pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/libvpx libvpx: fix building on Darwin 21



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e71cc4ee0da8
branches:  trunk
changeset: 458132:e71cc4ee0da8
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Sep 10 12:47:46 2021 +0000

description:
libvpx: fix building on Darwin 21

diffstat:

 multimedia/libvpx/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r b689d992d809 -r e71cc4ee0da8 multimedia/libvpx/Makefile
--- a/multimedia/libvpx/Makefile        Fri Sep 10 12:21:57 2021 +0000
+++ b/multimedia/libvpx/Makefile        Fri Sep 10 12:47:46 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.88 2021/07/13 15:35:42 schmonz Exp $
+# $NetBSD: Makefile,v 1.89 2021/09/10 12:47:46 adam Exp $
 
 DISTNAME=      libvpx-1.10.0
 PKGREVISION=   1
@@ -51,8 +51,10 @@
 CONFIGURE_ARGS+=       --target=x86-darwin8-gcc
 .    endif
 .  elif ${MACHINE_ARCH} == "x86_64"
-.    if !empty(OS_VERSION:M1[0-7].*) || !empty(OS_VERSION:M2[0-9].*)
+.    if !empty(OS_VERSION:M1[0-7].*)
 CONFIGURE_ARGS+=       --target=x86_64-darwin${OS_VERSION:C/\.[0-9]*//g}-gcc
+.    elif !empty(OS_VERSION:M2[0-9].*)
+CONFIGURE_ARGS+=       --target=x86_64-darwin20-gcc
 .    else
 CONFIGURE_ARGS+=       --target=x86_64-darwin9-gcc
 .    endif



Home | Main Index | Thread Index | Old Index