diff options
author | adam <adam> | 2013-10-23 18:24:02 +0000 |
---|---|---|
committer | adam <adam> | 2013-10-23 18:24:02 +0000 |
commit | d3c274d4476aa23a55c68e92a3a69f9d62970ef7 (patch) | |
tree | 62fa98f220797ac523018b6d72765f4eefcdb1c6 /multimedia | |
parent | 8a028c59c8f7d3da01f8ee3dea8b379919bb6235 (diff) | |
download | pkgsrc-d3c274d4476aa23a55c68e92a3a69f9d62970ef7.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 |