diff options
author | adam <adam@pkgsrc.org> | 2012-11-08 00:07:02 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2012-11-08 00:07:02 +0000 |
commit | a52d3a6b39a2bd1c4ae48a2e8c42b0b5311b704f (patch) | |
tree | f375cb466cbe82352ab17e63e1ce689c19c16d11 | |
parent | fefec9aeac19971f0101a7d721fbb364c9e27f29 (diff) | |
download | pkgsrc-a52d3a6b39a2bd1c4ae48a2e8c42b0b5311b704f.tar.gz |
Fix Darwin targets
-rw-r--r-- | multimedia/libvpx/Makefile | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/multimedia/libvpx/Makefile b/multimedia/libvpx/Makefile index 7175b24988d..9d01040a533 100644 --- a/multimedia/libvpx/Makefile +++ b/multimedia/libvpx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2012/10/08 09:21:08 asau Exp $ +# $NetBSD: Makefile,v 1.18 2012/11/08 00:07:02 adam Exp $ DISTNAME= libvpx-v1.1.0 PKGNAME= ${DISTNAME:S/-v/-/} @@ -39,22 +39,26 @@ REPLACE_BASH= configure \ .if ${OPSYS} == "Darwin" BUILDLINK_TRANSFORM+= rm:-Wl,-Bsymbolic . if ${MACHINE_ARCH} == "i386" -. if !empty(OS_VERSION:M11.*) -CONFIGURE_ARGS+= --target=x86-darwin10-gcc +. if !empty(OS_VERSION:M12.*) +CONFIGURE_ARGS+= --target=x86-darwin12-gcc +. elif !empty(OS_VERSION:M11.*) +CONFIGURE_ARGS+= --target=x86-darwin11-gcc . elif !empty(OS_VERSION:M10.*) CONFIGURE_ARGS+= --target=x86-darwin10-gcc . elif !empty(OS_VERSION:M9.*) -CONFIGURE_ARGS+= --target=x86-darwin10-gcc +CONFIGURE_ARGS+= --target=x86-darwin9-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 +. if !empty(OS_VERSION:M12.*) +CONFIGURE_ARGS+= --target=x86_64-darwin12-gcc +. elif !empty(OS_VERSION:M11.*) +CONFIGURE_ARGS+= --target=x86_64-darwin11-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 +CONFIGURE_ARGS+= --target=x86_64-darwin9-gcc . else CONFIGURE_ARGS+= --target=x86_64-darwin8-gcc . endif |