Sun Feb 16 10:02:21 2014 UTC ()
fix "do what I mean" for OPSYS check


(sno)
diff -r1.37 -r1.38 pkgsrc/multimedia/libvpx/Makefile

cvs diff -r1.37 -r1.38 pkgsrc/multimedia/libvpx/Makefile (expand / switch to unified diff)

--- pkgsrc/multimedia/libvpx/Makefile 2014/02/16 09:58:18 1.37
+++ pkgsrc/multimedia/libvpx/Makefile 2014/02/16 10:02:21 1.38
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.37 2014/02/16 09:58:18 sno Exp $ 1# $NetBSD: Makefile,v 1.38 2014/02/16 10:02:21 sno Exp $
2 2
3DISTNAME= libvpx_1.3.0.orig 3DISTNAME= libvpx_1.3.0.orig
4PKGNAME= ${DISTNAME:S/_/-/:S/.orig//} 4PKGNAME= ${DISTNAME:S/_/-/:S/.orig//}
5CATEGORIES= multimedia 5CATEGORIES= multimedia
6MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/libv/libvpx/} 6MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/libv/libvpx/}
7EXTRACT_SUFX= .tar.bz2 7EXTRACT_SUFX= .tar.bz2
8 8
9MAINTAINER= ryoon@NetBSD.org 9MAINTAINER= ryoon@NetBSD.org
10HOMEPAGE= http://code.google.com/p/webm/ 10HOMEPAGE= http://code.google.com/p/webm/
11COMMENT= On2 VP8 library from Google 11COMMENT= On2 VP8 library from Google
12LICENSE= modified-bsd 12LICENSE= modified-bsd
13 13
14WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} 14WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
@@ -17,27 +17,27 @@ USE_LANGUAGES= c c++ @@ -17,27 +17,27 @@ USE_LANGUAGES= c c++
17USE_LIBTOOL= yes 17USE_LIBTOOL= yes
18USE_TOOLS+= gmake bash:build perl:build 18USE_TOOLS+= gmake bash:build perl:build
19HAS_CONFIGURE= yes 19HAS_CONFIGURE= yes
20CONFIG_SHELL= ${BASH} 20CONFIG_SHELL= ${BASH}
21CONFIGURE_ARGS+= --disable-postproc 21CONFIGURE_ARGS+= --disable-postproc
22CONFIGURE_ARGS+= --enable-pic 22CONFIGURE_ARGS+= --enable-pic
23CONFIGURE_ARGS+= --enable-runtime-cpu-detect 23CONFIGURE_ARGS+= --enable-runtime-cpu-detect
24CONFIGURE_ARGS+= --prefix=${PREFIX} 24CONFIGURE_ARGS+= --prefix=${PREFIX}
25CONFIGURE_ARGS+= --disable-unit-tests 25CONFIGURE_ARGS+= --disable-unit-tests
26 26
27.include "../../mk/bsd.prefs.mk" 27.include "../../mk/bsd.prefs.mk"
28 28
29.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 29.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
30.if ${PKGSRC_COMPILER} == "gcc" && ${OPSYS} == "NetBSD" && ${OPSYS} == "SunOS" 30.if ${PKGSRC_COMPILER} == "gcc" && (${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS")
31# PR pkg/48508: GCC 4.4 or later is required to compile ssse3 code on NetBSD & Solaris. 31# PR pkg/48508: GCC 4.4 or later is required to compile ssse3 code on NetBSD & Solaris.
32GCC_REQD= 4.4 32GCC_REQD= 4.4
33.endif 33.endif
34 34
35BUILD_DEPENDS+= yasm-[0-9]*:../../devel/yasm 35BUILD_DEPENDS+= yasm-[0-9]*:../../devel/yasm
36.endif 36.endif
37 37
38REPLACE_BASH= configure \ 38REPLACE_BASH= configure \
39 build/make/configure.sh \ 39 build/make/configure.sh \
40 build/make/version.sh \ 40 build/make/version.sh \
41 build/make/gen_asm_deps.sh \ 41 build/make/gen_asm_deps.sh \
42 build/make/rtcd.sh \ 42 build/make/rtcd.sh \
43 examples/gen_example_text.sh \ 43 examples/gen_example_text.sh \