pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/xvidcore Disable assembler code under Mac O...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5f664ad6606e
branches:  trunk
changeset: 536599:5f664ad6606e
user:      tron <tron%pkgsrc.org@localhost>
date:      Mon Dec 17 22:13:42 2007 +0000

description:
Disable assembler code under Mac OS X Leopard i386 to fix build failure.

diffstat:

 multimedia/xvidcore/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 24d314343671 -r 5f664ad6606e multimedia/xvidcore/Makefile
--- a/multimedia/xvidcore/Makefile      Mon Dec 17 22:11:47 2007 +0000
+++ b/multimedia/xvidcore/Makefile      Mon Dec 17 22:13:42 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2007/07/03 19:53:00 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2007/12/17 22:13:42 tron Exp $
 
 DISTNAME=      xvidcore-1.1.3
 CATEGORIES=    multimedia
@@ -17,7 +17,8 @@
 # nor on amd64 -- they are not PIC, but the ABI demands it
 # big patch available from Gentoo, if someone is interested:
 # http://bugs.gentoo.org/show_bug.cgi?id=90287
-.if ${OPSYS} == "SunOS" || ${MACHINE_ARCH} == "x86_64"
+.if ${OPSYS} == "SunOS" || ${MACHINE_ARCH} == "x86_64" || \
+    !empty(MACHINE_PLATFORM:MDarwin-[9].*-i386)
 CONFIGURE_ARGS+=       --disable-assembly
 .elif ${MACHINE_ARCH} == "i386"
 BUILD_DEPENDS+=                nasm>=0.98.39nb3:../../devel/nasm



Home | Main Index | Thread Index | Old Index