diff options
Diffstat (limited to 'multimedia/libvpx/Makefile')
-rw-r--r-- | multimedia/libvpx/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/multimedia/libvpx/Makefile b/multimedia/libvpx/Makefile index 97a479387de..29c2ae36c89 100644 --- a/multimedia/libvpx/Makefile +++ b/multimedia/libvpx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.36 2014/02/15 10:53:20 jperkin Exp $ +# $NetBSD: Makefile,v 1.37 2014/02/16 09:58:18 sno Exp $ DISTNAME= libvpx_1.3.0.orig PKGNAME= ${DISTNAME:S/_/-/:S/.orig//} @@ -26,12 +26,12 @@ CONFIGURE_ARGS+= --disable-unit-tests .include "../../mk/bsd.prefs.mk" -.if ${OPSYS} != "Darwin" -# PR pkg/48508: GCC 4.4 or later is required to compile ssse3 code. +.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" +.if ${PKGSRC_COMPILER} == "gcc" && ${OPSYS} == "NetBSD" && ${OPSYS} == "SunOS" +# PR pkg/48508: GCC 4.4 or later is required to compile ssse3 code on NetBSD & Solaris. GCC_REQD= 4.4 .endif -.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" BUILD_DEPENDS+= yasm-[0-9]*:../../devel/yasm .endif |