summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2011-06-20 18:57:01 +0000
committerryoon <ryoon@pkgsrc.org>2011-06-20 18:57:01 +0000
commitbf89a58d81336598288b5fea2d2cbed7b9b01a50 (patch)
tree20913141ead7d1ed8a77f904e994a2d813144a6a /multimedia
parentd9942a1fcfd2b603fded5e09f1bb83421c0839a8 (diff)
downloadpkgsrc-bf89a58d81336598288b5fea2d2cbed7b9b01a50.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 \