summaryrefslogtreecommitdiff
path: root/multimedia/xvidcore
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2007-12-17 22:13:42 +0000
committertron <tron@pkgsrc.org>2007-12-17 22:13:42 +0000
commitc1e017c4622e93cd03fc277945c63a70222f3295 (patch)
tree626ed4269b8208e201b2d9211b9e02f5fdb547de /multimedia/xvidcore
parent3a4b2ff1820f30cf151f1d84543d9f778efb5139 (diff)
downloadpkgsrc-c1e017c4622e93cd03fc277945c63a70222f3295.tar.gz
Disable assembler code under Mac OS X Leopard i386 to fix build failure.
Diffstat (limited to 'multimedia/xvidcore')
-rw-r--r--multimedia/xvidcore/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/multimedia/xvidcore/Makefile b/multimedia/xvidcore/Makefile
index 87894524ccd..c55dc09d7a0 100644
--- a/multimedia/xvidcore/Makefile
+++ b/multimedia/xvidcore/Makefile
@@ -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 @@ PKG_DESTDIR_SUPPORT= user-destdir
# 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