summaryrefslogtreecommitdiff
path: root/multimedia/libvpx
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2012-02-09 17:12:40 +0000
committerminskim <minskim@pkgsrc.org>2012-02-09 17:12:40 +0000
commite058efe546371f62f9b4c7edae1ba27b3564442b (patch)
tree5c13a83d8b442a699986d237a42244ea0800f3ea /multimedia/libvpx
parent59dc975a291abbd6c6f60d59095179611a39c7be (diff)
downloadpkgsrc-e058efe546371f62f9b4c7edae1ba27b3564442b.tar.gz
Set CONFIGURE_ARGS for Darwin/x86_64.
Diffstat (limited to 'multimedia/libvpx')
-rw-r--r--multimedia/libvpx/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/multimedia/libvpx/Makefile b/multimedia/libvpx/Makefile
index ae3fd4b2b73..1137691dfa0 100644
--- a/multimedia/libvpx/Makefile
+++ b/multimedia/libvpx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2012/01/31 11:53:51 ryoon Exp $
+# $NetBSD: Makefile,v 1.12 2012/02/09 17:12:40 minskim Exp $
DISTNAME= libvpx-v1.0.0
PKGNAME= ${DISTNAME:S/-v/-/}
@@ -47,6 +47,16 @@ CONFIGURE_ARGS+= --target=x86-darwin10-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
+. elif !empty(OS_VERSION:M10.*)
+CONFIGURE_ARGS+= --target=x86_64-darwin10-gcc
+. elif !empty(OS_VERSION:M9.*)
+CONFIGURE_ARGS+= --target=x86_64-darwin10-gcc
+. else
+CONFIGURE_ARGS+= --target=x86_64-darwin8-gcc
+. endif
. endif
.endif