summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2007-12-16 00:08:27 +0000
committertron <tron@pkgsrc.org>2007-12-16 00:08:27 +0000
commitc815c4cb32c7549a9ec0753b71b883569b926f33 (patch)
tree98c4e2916d4b5cc76f979715ca850ee326d9f5e2 /archivers
parent70a059ee7ecc154ab923be6accd200b2eb0a230e (diff)
downloadpkgsrc-c815c4cb32c7549a9ec0753b71b883569b926f33.tar.gz
Disable assembler code under Mac OS X Leopard i386 to fix build failure.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/lzo/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/archivers/lzo/Makefile b/archivers/lzo/Makefile
index dc2b0e0e45f..7e564314106 100644
--- a/archivers/lzo/Makefile
+++ b/archivers/lzo/Makefile
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2006/11/05 17:10:43 joerg Exp $
-#
+# $NetBSD: Makefile,v 1.5 2007/12/16 00:08:27 tron Exp $
DISTNAME= lzo-2.02
CATEGORIES= archivers
@@ -17,4 +16,10 @@ GNU_CONFIGURE= YES
USE_LIBTOOL= YES
TEST_TARGET= test
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(MACHINE_PLATFORM:MDarwin-[9].*-i386)
+CONFIGURE_ARGS+= --disable-asm
+.endif
+
.include "../../mk/bsd.pkg.mk"