summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authoradam <adam>2012-11-08 00:07:02 +0000
committeradam <adam>2012-11-08 00:07:02 +0000
commitc6ce068cc58f0791e00fb065cf87a93955a15ce1 (patch)
treef375cb466cbe82352ab17e63e1ce689c19c16d11 /multimedia
parentdfd01a4ba7e00abf61708e1a78f1a7fef99dc136 (diff)
downloadpkgsrc-c6ce068cc58f0791e00fb065cf87a93955a15ce1.tar.gz
Fix Darwin targets
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libvpx/Makefile18
1 files changed, 11 insertions, 7 deletions
diff --git a/multimedia/libvpx/Makefile b/multimedia/libvpx/Makefile
index 7175b24988d..9d01040a533 100644
--- a/multimedia/libvpx/Makefile
+++ b/multimedia/libvpx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2012/10/08 09:21:08 asau Exp $
+# $NetBSD: Makefile,v 1.18 2012/11/08 00:07:02 adam Exp $
DISTNAME= libvpx-v1.1.0
PKGNAME= ${DISTNAME:S/-v/-/}
@@ -39,22 +39,26 @@ REPLACE_BASH= configure \
.if ${OPSYS} == "Darwin"
BUILDLINK_TRANSFORM+= rm:-Wl,-Bsymbolic
. if ${MACHINE_ARCH} == "i386"
-. if !empty(OS_VERSION:M11.*)
-CONFIGURE_ARGS+= --target=x86-darwin10-gcc
+. if !empty(OS_VERSION:M12.*)
+CONFIGURE_ARGS+= --target=x86-darwin12-gcc
+. elif !empty(OS_VERSION:M11.*)
+CONFIGURE_ARGS+= --target=x86-darwin11-gcc
. elif !empty(OS_VERSION:M10.*)
CONFIGURE_ARGS+= --target=x86-darwin10-gcc
. elif !empty(OS_VERSION:M9.*)
-CONFIGURE_ARGS+= --target=x86-darwin10-gcc
+CONFIGURE_ARGS+= --target=x86-darwin9-gcc
. else
CONFIGURE_ARGS+= --target=x86-darwin8-gcc
. endif
. elif ${MACHINE_ARCH} == "x86_64"
-. if !empty(OS_VERSION:M11.*)
-CONFIGURE_ARGS+= --target=x86_64-darwin10-gcc
+. if !empty(OS_VERSION:M12.*)
+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-darwin10-gcc
+CONFIGURE_ARGS+= --target=x86_64-darwin9-gcc
. else
CONFIGURE_ARGS+= --target=x86_64-darwin8-gcc
. endif