summaryrefslogtreecommitdiff
path: root/multimedia/libvpx/Makefile
diff options
context:
space:
mode:
authorryoon <ryoon>2011-06-20 18:57:01 +0000
committerryoon <ryoon>2011-06-20 18:57:01 +0000
commitdc71fa9e3b2de35feaee3678a8f22576a3430cbb (patch)
tree20913141ead7d1ed8a77f904e994a2d813144a6a /multimedia/libvpx/Makefile
parentc0fb8770c24e6d92454d2d492400282e150a8a5a (diff)
downloadpkgsrc-dc71fa9e3b2de35feaee3678a8f22576a3430cbb.tar.gz
Patch from PR pkg/45086
Add workaround for Darwin/i386 10.
Diffstat (limited to 'multimedia/libvpx/Makefile')
-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 \