summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authortron <tron>2007-12-17 22:13:42 +0000
committertron <tron>2007-12-17 22:13:42 +0000
commita68168a601c0b6c4e7087c7f91622aadc25fe7d0 (patch)
tree626ed4269b8208e201b2d9211b9e02f5fdb547de /multimedia
parent2f13011e35943b9195e43f2d54b97a43be65b027 (diff)
downloadpkgsrc-a68168a601c0b6c4e7087c7f91622aadc25fe7d0.tar.gz
Disable assembler code under Mac OS X Leopard i386 to fix build failure.
Diffstat (limited to 'multimedia')
-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