diff options
author | minskim <minskim> | 2012-02-09 17:12:40 +0000 |
---|---|---|
committer | minskim <minskim> | 2012-02-09 17:12:40 +0000 |
commit | e85c4358bf3b24b32da153b02131b2e3b5c760fe (patch) | |
tree | 5c13a83d8b442a699986d237a42244ea0800f3ea | |
parent | ceadb5c2829a398f98d9471f0d403b9b6bc43bb4 (diff) | |
download | pkgsrc-e85c4358bf3b24b32da153b02131b2e3b5c760fe.tar.gz |
Set CONFIGURE_ARGS for Darwin/x86_64.
-rw-r--r-- | multimedia/libvpx/Makefile | 12 |
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 |