pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/avidemux Fix build under Mac OS X PowerPC b...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e6d26d72a12b
branches: trunk
changeset: 522213:e6d26d72a12b
user: tron <tron%pkgsrc.org@localhost>
date: Tue Dec 05 23:16:48 2006 +0000
description:
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:
multimedia/avidemux/Makefile | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 9a097bfcb0fe -r e6d26d72a12b multimedia/avidemux/Makefile
--- a/multimedia/avidemux/Makefile Tue Dec 05 22:48:31 2006 +0000
+++ b/multimedia/avidemux/Makefile Tue Dec 05 23:16:48 2006 +0000
@@ -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 @@
.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"
Home |
Main Index |
Thread Index |
Old Index