diff options
author | adam <adam@pkgsrc.org> | 2013-10-23 18:24:02 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2013-10-23 18:24:02 +0000 |
commit | b411d0c390f9c7de42fe13952114cceb61c8de4e (patch) | |
tree | 62fa98f220797ac523018b6d72765f4eefcdb1c6 /multimedia | |
parent | 33daaa4a82076c92ca0bdb9461efb95d6ebf9958 (diff) | |
download | pkgsrc-b411d0c390f9c7de42fe13952114cceb61c8de4e.tar.gz |
Fix building on OS X 10.9
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/libvpx/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/multimedia/libvpx/Makefile b/multimedia/libvpx/Makefile index a05bd3a1b65..88a184f0fe7 100644 --- a/multimedia/libvpx/Makefile +++ b/multimedia/libvpx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2013/09/19 11:22:44 ryoon Exp $ +# $NetBSD: Makefile,v 1.28 2013/10/23 18:24:02 adam Exp $ DISTNAME= libvpx-v1.2.0 PKGNAME= ${DISTNAME:S/-v/-/} @@ -39,7 +39,7 @@ REPLACE_BASH= configure \ .if ${OPSYS} == "Darwin" BUILDLINK_TRANSFORM+= rm:-Wl,-Bsymbolic . if ${MACHINE_ARCH} == "i386" -. if !empty(OS_VERSION:M12.*) +. if !empty(OS_VERSION:M12.*) || !empty(OS_VERSION:M13.*) CONFIGURE_ARGS+= --target=x86-darwin12-gcc . elif !empty(OS_VERSION:M11.*) CONFIGURE_ARGS+= --target=x86-darwin11-gcc @@ -51,16 +51,14 @@ CONFIGURE_ARGS+= --target=x86-darwin9-gcc CONFIGURE_ARGS+= --target=x86-darwin8-gcc . endif . elif ${MACHINE_ARCH} == "x86_64" -. if !empty(OS_VERSION:M12.*) +. if !empty(OS_VERSION:M12.*) || !empty(OS_VERSION:M13.*) CONFIGURE_ARGS+= --target=x86_64-darwin12-gcc . elif !empty(OS_VERSION:M11.*) CONFIGURE_ARGS+= --target=x86_64-darwin11-gcc . elif !empty(OS_VERSION:M10.*) CONFIGURE_ARGS+= --target=x86_64-darwin10-gcc -. elif !empty(OS_VERSION:M9.*) -CONFIGURE_ARGS+= --target=x86_64-darwin9-gcc . else -CONFIGURE_ARGS+= --target=x86_64-darwin8-gcc +CONFIGURE_ARGS+= --target=x86_64-darwin9-gcc . endif . endif .endif |