diff options
author | tron <tron@pkgsrc.org> | 2006-12-05 23:16:48 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2006-12-05 23:16:48 +0000 |
commit | 9072c31e1f4b7ee04ce80a4a20d7608bf156dcba (patch) | |
tree | ddb1056d8f304e9134f9738c493aa68bd73fc9e0 | |
parent | 4233abc0c62dba510de8c07f2c61854283655237 (diff) | |
download | pkgsrc-9072c31e1f4b7ee04ce80a4a20d7608bf156dcba.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.
-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" |