From 9072c31e1f4b7ee04ce80a4a20d7608bf156dcba Mon Sep 17 00:00:00 2001 From: tron Date: Tue, 5 Dec 2006 23:16:48 +0000 Subject: Fix build under Mac OS X PowerPC by enabling AltiVec support. The resulting binary will not work on olders CPUs (e.g. G3) but the package works on at least G4 and G5 systems now. --- multimedia/avidemux/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'multimedia/avidemux') diff --git a/multimedia/avidemux/Makefile b/multimedia/avidemux/Makefile index 72e73f63fda..908c377f348 100644 --- a/multimedia/avidemux/Makefile +++ b/multimedia/avidemux/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.38 2006/12/05 21:00:26 tron Exp $ +# $NetBSD: Makefile,v 1.39 2006/12/05 23:16:48 tron Exp $ # DISTNAME= avidemux_2.3.0 @@ -36,6 +36,11 @@ PKG_SUPPORTED_OPTIONS= mmx .if ${OPSYS} == "Darwin" CPPFLAGS+= -D__maxosx__ + +.if ${MACHINE_ARCH} == "powerpc" +CONFIGURE_ARGS+= --enable-altivec +CONFIGURE_ENV+= CCAS=${CC} +.endif .endif .include "../../mk/bsd.options.mk" -- cgit v1.2.3