From 3e1073f11d8a902f833a4014add10127ee6f3938 Mon Sep 17 00:00:00 2001 From: wiz Date: Sat, 29 Jun 2013 14:53:39 +0000 Subject: Do not make assumptions about Darwin's or Solaris' gcc behaving like others. --- multimedia/ffmpeg/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'multimedia') diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile index d2a19558299..e89038222d1 100644 --- a/multimedia/ffmpeg/Makefile +++ b/multimedia/ffmpeg/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.110 2013/06/29 13:34:23 wiz Exp $ +# $NetBSD: Makefile,v 1.111 2013/06/29 14:53:39 wiz Exp $ PKGNAME= ffmpeg-20130510.${DISTVERSION} PKGREVISION= 2 @@ -41,7 +41,10 @@ post-install: # no alignment options needed for gcc >= 4.6 on i386 .if ${MACHINE_ARCH} == "i386" -.if !empty(CC_VERSION:Mgcc-4.[2345]*) +.if !empty(MACHINE_PLATFORM:MDarwin-*-i386) \ + || !empty(MACHINE_PLATFORM:MSunOS-*-i386) +CONFIGURE_ARGS+= --disable-asm +.elif !empty(CC_VERSION:Mgcc-4.[2345]*) CFLAGS+=-mstackrealign -mpreferred-stack-boundary=4 .elif !empty(CC_VERSION:Mgcc-[123]*) \ || !empty(CC_VERSION:Mgcc-4.[01]*) \ -- cgit v1.2.3