diff options
author | adam <adam@pkgsrc.org> | 2021-09-10 12:47:46 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2021-09-10 12:47:46 +0000 |
commit | 3369ef06e45802b18c4cb81dd203f8cceb23ac80 (patch) | |
tree | a7b1e27cab671b182ef396567b6d367b17d6609a /multimedia/libvpx | |
parent | d33729326935a70c3b739ca7ac37404062491ac7 (diff) | |
download | pkgsrc-3369ef06e45802b18c4cb81dd203f8cceb23ac80.tar.gz |
libvpx: fix building on Darwin 21
Diffstat (limited to 'multimedia/libvpx')
-rw-r--r-- | multimedia/libvpx/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/multimedia/libvpx/Makefile b/multimedia/libvpx/Makefile index 0ae2e840fc6..57e4335d0fd 100644 --- a/multimedia/libvpx/Makefile +++ b/multimedia/libvpx/Makefile @@ -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-darwin9-gcc 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 |