summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorryoon <ryoon>2011-08-08 14:15:50 +0000
committerryoon <ryoon>2011-08-08 14:15:50 +0000
commit88892bd7effd16b9ba128cc960e352b6c6ad29dd (patch)
treecaafc9ac961d69d5bf0f62413aa904f849bfeb8d /multimedia
parent257dcea00fc9220aad716d08ad3ad99201e6f40b (diff)
downloadpkgsrc-88892bd7effd16b9ba128cc960e352b6c6ad29dd.tar.gz
Fix build on Mac OS X 10.7 (Darwin 11.0.1) with Xcode 4.1.1.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libvpx/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/multimedia/libvpx/Makefile b/multimedia/libvpx/Makefile
index 4b99f2ac903..db409869ae2 100644
--- a/multimedia/libvpx/Makefile
+++ b/multimedia/libvpx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2011/08/07 17:20:09 ryoon Exp $
+# $NetBSD: Makefile,v 1.9 2011/08/08 14:15:50 ryoon Exp $
DISTNAME= libvpx-v0.9.7
PKGNAME= ${DISTNAME:S/-v/-/}
@@ -36,7 +36,9 @@ REPLACE_BASH= configure \
.if ${OPSYS} == "Darwin"
. if ${MACHINE_ARCH} == "i386"
-. if !empty(OS_VERSION:M10.*)
+. if !empty(OS_VERSION:M11.*)
+CONFIGURE_ARGS+= --target=x86-darwin10-gcc
+. elif !empty(OS_VERSION:M10.*)
CONFIGURE_ARGS+= --target=x86-darwin10-gcc
. elif !empty(OS_VERSION:M9.*)
CONFIGURE_ARGS+= --target=x86-darwin10-gcc