summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorryoon <ryoon>2011-06-20 18:57:01 +0000
committerryoon <ryoon>2011-06-20 18:57:01 +0000
commitd940b144a93e70d3e56ea0b84c5874e19747e56d (patch)
tree20913141ead7d1ed8a77f904e994a2d813144a6a /multimedia
parent393dcd16948cd0182bd24ea49c8251837ce42d76 (diff)
downloadpkgsrc-d940b144a93e70d3e56ea0b84c5874e19747e56d.tar.gz
Patch from PR pkg/45086
Add workaround for Darwin/i386 10.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libvpx/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/multimedia/libvpx/Makefile b/multimedia/libvpx/Makefile
index f1981fc1722..5806870e811 100644
--- a/multimedia/libvpx/Makefile
+++ b/multimedia/libvpx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2011/04/14 07:08:00 adam Exp $
+# $NetBSD: Makefile,v 1.5 2011/06/20 18:57:01 ryoon Exp $
DISTNAME= libvpx-v0.9.6
PKGNAME= ${DISTNAME:S/-v/-/}
@@ -28,6 +28,16 @@ CONFIGURE_ARGS+= --prefix=${PREFIX}
BUILD_DEPENDS+= yasm-[0-9]*:../../devel/yasm
.endif
+.if ${OPSYS} == "Darwin"
+. if ${MACHINE_ARCH} == "i386"
+. if empty(OS_VERSION:M8.*)
+CONFIGURE_ARGS+= --target=x86-darwin9-gcc
+. else
+CONFIGURE_ARGS+= --target=x86-darwin8-gcc
+. endif
+. endif
+.endif
+
REPLACE_BASH= configure \
build/make/version.sh \
build/make/gen_asm_deps.sh \