summaryrefslogtreecommitdiff
path: root/archivers/lzo
diff options
context:
space:
mode:
authortron <tron>2007-12-16 00:08:27 +0000
committertron <tron>2007-12-16 00:08:27 +0000
commit8f3725ab3238d3ed9ef7b28d0956728b3f3199db (patch)
tree98c4e2916d4b5cc76f979715ca850ee326d9f5e2 /archivers/lzo
parentf3e78a84f655beda208d5eefa1d2f59deeaca5ab (diff)
downloadpkgsrc-8f3725ab3238d3ed9ef7b28d0956728b3f3199db.tar.gz
Disable assembler code under Mac OS X Leopard i386 to fix build failure.
Diffstat (limited to 'archivers/lzo')
-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"