| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.42 2014/04/12 19:06:55 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.43 2014/04/13 07:41:49 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= libvpx_1.3.0.orig | | 3 | DISTNAME= libvpx_1.3.0.orig |
4 | PKGNAME= ${DISTNAME:S/_/-/:S/.orig//} | | 4 | PKGNAME= ${DISTNAME:S/_/-/:S/.orig//} |
5 | CATEGORIES= multimedia | | 5 | CATEGORIES= multimedia |
6 | MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/libv/libvpx/} | | 6 | MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/libv/libvpx/} |
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 | WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} | | 14 | WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} |
| @@ -71,26 +71,30 @@ CONFIGURE_ARGS+= --target=x86_64-darwin9 | | | @@ -71,26 +71,30 @@ CONFIGURE_ARGS+= --target=x86_64-darwin9 |
71 | . endif | | 71 | . endif |
72 | . elif ${MACHINE_ARCH} == "powerpc" | | 72 | . elif ${MACHINE_ARCH} == "powerpc" |
73 | . if !empty(OS_VERSION:M9.*) | | 73 | . if !empty(OS_VERSION:M9.*) |
74 | CONFIGURE_ARGS+= --target=ppc32-darwin9-gcc | | 74 | CONFIGURE_ARGS+= --target=ppc32-darwin9-gcc |
75 | . else | | 75 | . else |
76 | CONFIGURE_ARGS+= --target=ppc32-darwin8-gcc | | 76 | CONFIGURE_ARGS+= --target=ppc32-darwin8-gcc |
77 | . endif | | 77 | . endif |
78 | . endif | | 78 | . endif |
79 | .endif | | 79 | .endif |
80 | | | 80 | |
81 | .include "../../mk/compiler.mk" | | 81 | .include "../../mk/compiler.mk" |
82 | .if !empty(PKGSRC_COMPILER:Mclang) | | 82 | .if !empty(PKGSRC_COMPILER:Mclang) |
83 | CXXFLAGS+= -std=c++11 | | 83 | CXXFLAGS+= -std=c++11 |
| | | 84 | .if ${OPSYS} == "NetBSD" |
| | | 85 | # https://bugzilla.mozilla.org/show_bug.cgi?id=982693 |
| | | 86 | CFLAGS+= -fno-integrated-as |
| | | 87 | .endif |
84 | .endif | | 88 | .endif |
85 | | | 89 | |
86 | .if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "mipsel" | | 90 | .if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "mipsel" |
87 | CONFIGURE_ARGS+= --target=mips32-linux-gcc | | 91 | CONFIGURE_ARGS+= --target=mips32-linux-gcc |
88 | .endif | | 92 | .endif |
89 | | | 93 | |
90 | .if !empty(MACHINE_PLATFORM:MNetBSD-*-*arm*) | | 94 | .if !empty(MACHINE_PLATFORM:MNetBSD-*-*arm*) |
91 | CONFIGURE_ARGS+= --disable-runtime-cpu-detect | | 95 | CONFIGURE_ARGS+= --disable-runtime-cpu-detect |
92 | .endif | | 96 | .endif |
93 | | | 97 | |
94 | .if ${OPSYS} == "MirBSD" | | 98 | .if ${OPSYS} == "MirBSD" |
95 | BUILDLINK_TRANSFORM+= rm:-lrt | | 99 | BUILDLINK_TRANSFORM+= rm:-lrt |
96 | # Compiler is too old for these newfangled features | | 100 | # Compiler is too old for these newfangled features |