| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.72 2018/01/28 16:04:11 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.73 2018/05/10 21:10:38 jmcneill Exp $ |
2 | | | 2 | |
3 | DISTNAME= libvpx-1.7.0 | | 3 | DISTNAME= libvpx-1.7.0 |
4 | CATEGORIES= multimedia | | 4 | CATEGORIES= multimedia |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=webmproject/} | | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=webmproject/} |
6 | GITHUB_PROJECT= libvpx | | 6 | GITHUB_PROJECT= libvpx |
7 | GITHUB_TAG= v${PKGVERSION_NOREV} | | 7 | GITHUB_TAG= v${PKGVERSION_NOREV} |
8 | | | 8 | |
9 | MAINTAINER= ryoon@NetBSD.org | | 9 | MAINTAINER= ryoon@NetBSD.org |
10 | HOMEPAGE= https://chromium.googlesource.com/webm/libvpx | | 10 | HOMEPAGE= https://chromium.googlesource.com/webm/libvpx |
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 | USE_LANGUAGES= c c++11 | | 14 | USE_LANGUAGES= c c++11 |
| @@ -92,27 +92,27 @@ SUBST_CLASSES+= clang | | | @@ -92,27 +92,27 @@ SUBST_CLASSES+= clang |
92 | SUBST_STAGE.clang= pre-configure | | 92 | SUBST_STAGE.clang= pre-configure |
93 | SUBST_FILES.clang= build/make/Makefile | | 93 | SUBST_FILES.clang= build/make/Makefile |
94 | SUBST_MESSAGE.clang= Disabling clang integrated assembler | | 94 | SUBST_MESSAGE.clang= Disabling clang integrated assembler |
95 | # Test for whether clang supports -fno-integrated-as instead of -no-integrated-as | | 95 | # Test for whether clang supports -fno-integrated-as instead of -no-integrated-as |
96 | CLANG_INTEGRATED_AS!= if ${CCPATH:Utrue} --version -fno-integrated-as > /dev/null 2>&1; then ${ECHO} "-fno-integrated-as"; else ${ECHO} "-no-integrated-as"; fi | | 96 | CLANG_INTEGRATED_AS!= if ${CCPATH:Utrue} --version -fno-integrated-as > /dev/null 2>&1; then ${ECHO} "-fno-integrated-as"; else ${ECHO} "-no-integrated-as"; fi |
97 | SUBST_SED.clang= -e 's/-DINLINE_ASM/-DINLINE_ASM ${CLANG_INTEGRATED_AS}/' | | 97 | SUBST_SED.clang= -e 's/-DINLINE_ASM/-DINLINE_ASM ${CLANG_INTEGRATED_AS}/' |
98 | . endif | | 98 | . endif |
99 | .endif | | 99 | .endif |
100 | | | 100 | |
101 | .if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "mipsel" | | 101 | .if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "mipsel" |
102 | CONFIGURE_ARGS+= --target=mips32-linux-gcc | | 102 | CONFIGURE_ARGS+= --target=mips32-linux-gcc |
103 | .endif | | 103 | .endif |
104 | | | 104 | |
105 | .if !empty(MACHINE_PLATFORM:MNetBSD-*-*arm*) | | 105 | .if !empty(MACHINE_PLATFORM:MNetBSD-*-*arm*) || !empty(MACHINE_PLATFORM:MNetBSD-*-*aarch64*) |
106 | CONFIGURE_ARGS+= --disable-runtime-cpu-detect | | 106 | CONFIGURE_ARGS+= --disable-runtime-cpu-detect |
107 | .endif | | 107 | .endif |
108 | | | 108 | |
109 | BUILDLINK_TRANSFORM.MirBSD+= rm:-lrt | | 109 | BUILDLINK_TRANSFORM.MirBSD+= rm:-lrt |
110 | # Compiler is too old for these newfangled features | | 110 | # Compiler is too old for these newfangled features |
111 | CONFIGURE_ENV.MirBSD+= sse2=no sse3=no ssse3=no sse4_1=no | | 111 | CONFIGURE_ENV.MirBSD+= sse2=no sse3=no ssse3=no sse4_1=no |
112 | # runtime_cpu_detect=no | | 112 | # runtime_cpu_detect=no |
113 | CONFIGURE_ENV.MirBSD+= RTCD_OPTIONS='--disable-sse2 --disable-sse3 --disable-ssse3 --disable-sse4_1' | | 113 | CONFIGURE_ENV.MirBSD+= RTCD_OPTIONS='--disable-sse2 --disable-sse3 --disable-ssse3 --disable-sse4_1' |
114 | CONFIGURE_ARGS.MirBSD+= --disable-runtime-cpu-detect | | 114 | CONFIGURE_ARGS.MirBSD+= --disable-runtime-cpu-detect |
115 | | | 115 | |
116 | # Under Solaris 10 its /usr/xpg4/bin/tr is not sufficient. PR pkg/48508 | | 116 | # Under Solaris 10 its /usr/xpg4/bin/tr is not sufficient. PR pkg/48508 |
117 | .if !empty(MACHINE_PLATFORM:MSunOS-5.10*) | | 117 | .if !empty(MACHINE_PLATFORM:MSunOS-5.10*) |
118 | BUILD_DEPENDS= coreutils-[0-9]*:../../sysutils/coreutils | | 118 | BUILD_DEPENDS= coreutils-[0-9]*:../../sysutils/coreutils |