diff options
author | tron <tron> | 2006-12-05 23:16:48 +0000 |
---|---|---|
committer | tron <tron> | 2006-12-05 23:16:48 +0000 |
commit | 6535e437212ab95577200dac96ddf1f73d5585b7 (patch) | |
tree | ddb1056d8f304e9134f9738c493aa68bd73fc9e0 /multimedia | |
parent | 0a7fe262aee20e34d9ba7898d41d701e44abcefc (diff) | |
download | pkgsrc-6535e437212ab95577200dac96ddf1f73d5585b7.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/Makefile | 7 |
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" |