From 2ceb2ac943c0d851a038d932e447e4e7c76a22cc Mon Sep 17 00:00:00 2001 From: jperkin Date: Sat, 15 Feb 2014 10:53:20 +0000 Subject: Don't set GCC_REQD on Darwin, the gcc packages from pkgsrc do not work due to missing critical functionality like -arch. The build appears to work fine with the native gcc-4.2.1 on 10.8 anyway. --- multimedia/libvpx/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'multimedia/libvpx/Makefile') diff --git a/multimedia/libvpx/Makefile b/multimedia/libvpx/Makefile index 14d1bb90bb0..97a479387de 100644 --- a/multimedia/libvpx/Makefile +++ b/multimedia/libvpx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.35 2014/01/15 05:53:52 ryoon Exp $ +# $NetBSD: Makefile,v 1.36 2014/02/15 10:53:20 jperkin Exp $ DISTNAME= libvpx_1.3.0.orig PKGNAME= ${DISTNAME:S/_/-/:S/.orig//} @@ -11,9 +11,6 @@ HOMEPAGE= http://code.google.com/p/webm/ COMMENT= On2 VP8 library from Google LICENSE= modified-bsd -# PR pkg/48508: GCC 4.4 or later is required to compile ssse3 code. -GCC_REQD= 4.4 - WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} USE_LANGUAGES= c c++ @@ -29,6 +26,11 @@ 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. +GCC_REQD= 4.4 +.endif + .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" BUILD_DEPENDS+= yasm-[0-9]*:../../devel/yasm .endif -- cgit v1.2.3