summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2006-12-05 23:16:48 +0000
committertron <tron@pkgsrc.org>2006-12-05 23:16:48 +0000
commit0220baa32d740acc61e2d76cb2936212de8a1c96 (patch)
treeddb1056d8f304e9134f9738c493aa68bd73fc9e0 /multimedia
parent58ca1425a8451d2a5ee29e28de05be172b15f3c3 (diff)
downloadpkgsrc-0220baa32d740acc61e2d76cb2936212de8a1c96.tar.gz
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.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/avidemux/Makefile7
1 files changed, 6 insertions, 1 deletions
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"