| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.14 2012/05/22 20:42:57 ryoon Exp $ | | 1 | # $NetBSD: Makefile,v 1.15 2012/07/20 14:26:50 fhajny Exp $ |
2 | | | 2 | |
3 | DISTNAME= libvpx-v1.1.0 | | 3 | DISTNAME= libvpx-v1.1.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 |
| @@ -23,26 +23,27 @@ CONFIGURE_ARGS+= --enable-pic | | | @@ -23,26 +23,27 @@ CONFIGURE_ARGS+= --enable-pic |
23 | CONFIGURE_ARGS+= --enable-runtime-cpu-detect | | 23 | CONFIGURE_ARGS+= --enable-runtime-cpu-detect |
24 | CONFIGURE_ARGS+= --prefix=${PREFIX} | | 24 | CONFIGURE_ARGS+= --prefix=${PREFIX} |
25 | | | 25 | |
26 | .include "../../mk/bsd.prefs.mk" | | 26 | .include "../../mk/bsd.prefs.mk" |
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 | build/make/rtcd.sh \ |
36 | examples/gen_example_text.sh \ | | 37 | examples/gen_example_text.sh \ |
37 | examples/gen_example_code.sh | | 38 | examples/gen_example_code.sh |
38 | | | 39 | |
39 | .if ${OPSYS} == "Darwin" | | 40 | .if ${OPSYS} == "Darwin" |
40 | BUILDLINK_TRANSFORM+= rm:-Wl,-Bsymbolic | | 41 | BUILDLINK_TRANSFORM+= rm:-Wl,-Bsymbolic |
41 | . if ${MACHINE_ARCH} == "i386" | | 42 | . if ${MACHINE_ARCH} == "i386" |
42 | . if !empty(OS_VERSION:M11.*) | | 43 | . if !empty(OS_VERSION:M11.*) |
43 | CONFIGURE_ARGS+= --target=x86-darwin10-gcc | | 44 | CONFIGURE_ARGS+= --target=x86-darwin10-gcc |
44 | . elif !empty(OS_VERSION:M10.*) | | 45 | . elif !empty(OS_VERSION:M10.*) |
45 | CONFIGURE_ARGS+= --target=x86-darwin10-gcc | | 46 | CONFIGURE_ARGS+= --target=x86-darwin10-gcc |
46 | . elif !empty(OS_VERSION:M9.*) | | 47 | . elif !empty(OS_VERSION:M9.*) |
47 | CONFIGURE_ARGS+= --target=x86-darwin10-gcc | | 48 | CONFIGURE_ARGS+= --target=x86-darwin10-gcc |
48 | . else | | 49 | . else |