| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.12 2012/02/09 17:12:40 minskim Exp $ | | 1 | # $NetBSD: Makefile,v 1.13 2012/03/28 13:51:32 tron Exp $ |
2 | | | 2 | |
3 | DISTNAME= libvpx-v1.0.0 | | 3 | DISTNAME= libvpx-v1.0.0 |
4 | PKGNAME= ${DISTNAME:S/-v/-/} | | 4 | PKGNAME= ${DISTNAME:S/-v/-/} |
5 | CATEGORIES= multimedia | | 5 | CATEGORIES= multimedia |
6 | MASTER_SITES= http://webm.googlecode.com/files/ | | 6 | MASTER_SITES= http://webm.googlecode.com/files/ |
7 | EXTRACT_SUFX= .tar.bz2 | | 7 | EXTRACT_SUFX= .tar.bz2 |
8 | | | 8 | |
9 | MAINTAINER= ryoon@NetBSD.org | | 9 | MAINTAINER= ryoon@NetBSD.org |
10 | HOMEPAGE= http://code.google.com/p/webm/ | | 10 | HOMEPAGE= http://code.google.com/p/webm/ |
11 | COMMENT= On2 VP8 library from Google | | 11 | COMMENT= On2 VP8 library from Google |
12 | LICENSE= modified-bsd | | 12 | LICENSE= modified-bsd |
13 | | | 13 | |
14 | PKG_DESTDIR_SUPPORT= user-destdir | | 14 | PKG_DESTDIR_SUPPORT= user-destdir |
| @@ -27,26 +27,27 @@ CONFIGURE_ARGS+= --prefix=${PREFIX} | | | @@ -27,26 +27,27 @@ CONFIGURE_ARGS+= --prefix=${PREFIX} |
27 | | | 27 | |
28 | .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" | | 28 | .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" |
29 | BUILD_DEPENDS+= yasm-[0-9]*:../../devel/yasm | | 29 | BUILD_DEPENDS+= yasm-[0-9]*:../../devel/yasm |
30 | .endif | | 30 | .endif |
31 | | | 31 | |
32 | REPLACE_BASH= configure \ | | 32 | REPLACE_BASH= configure \ |
33 | build/make/configure.sh \ | | 33 | build/make/configure.sh \ |
34 | build/make/version.sh \ | | 34 | build/make/version.sh \ |
35 | build/make/gen_asm_deps.sh \ | | 35 | build/make/gen_asm_deps.sh \ |
36 | examples/gen_example_text.sh \ | | 36 | examples/gen_example_text.sh \ |
37 | examples/gen_example_code.sh | | 37 | examples/gen_example_code.sh |
38 | | | 38 | |
39 | .if ${OPSYS} == "Darwin" | | 39 | .if ${OPSYS} == "Darwin" |
| | | 40 | BUILDLINK_TRANSFORM+= rm:-Wl,-Bsymbolic |
40 | . if ${MACHINE_ARCH} == "i386" | | 41 | . if ${MACHINE_ARCH} == "i386" |
41 | . if !empty(OS_VERSION:M11.*) | | 42 | . if !empty(OS_VERSION:M11.*) |
42 | CONFIGURE_ARGS+= --target=x86-darwin10-gcc | | 43 | CONFIGURE_ARGS+= --target=x86-darwin10-gcc |
43 | . elif !empty(OS_VERSION:M10.*) | | 44 | . elif !empty(OS_VERSION:M10.*) |
44 | CONFIGURE_ARGS+= --target=x86-darwin10-gcc | | 45 | CONFIGURE_ARGS+= --target=x86-darwin10-gcc |
45 | . elif !empty(OS_VERSION:M9.*) | | 46 | . elif !empty(OS_VERSION:M9.*) |
46 | CONFIGURE_ARGS+= --target=x86-darwin10-gcc | | 47 | CONFIGURE_ARGS+= --target=x86-darwin10-gcc |
47 | . else | | 48 | . else |
48 | CONFIGURE_ARGS+= --target=x86-darwin8-gcc | | 49 | CONFIGURE_ARGS+= --target=x86-darwin8-gcc |
49 | . endif | | 50 | . endif |
50 | . elif ${MACHINE_ARCH} == "x86_64" | | 51 | . elif ${MACHINE_ARCH} == "x86_64" |
51 | . if !empty(OS_VERSION:M11.*) | | 52 | . if !empty(OS_VERSION:M11.*) |
52 | CONFIGURE_ARGS+= --target=x86_64-darwin10-gcc | | 53 | CONFIGURE_ARGS+= --target=x86_64-darwin10-gcc |