summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-04-04 19:12:10 +0000
committerwiz <wiz@pkgsrc.org>2006-04-04 19:12:10 +0000
commitc93731c57467de8cf2b0737a3f90869cfc3d1cc7 (patch)
tree8b58cad2d7ccfb1d625ef74f56d8a930b2f49c3b /lang
parentfde5974d154a715da45d6ca822c22b94c66b2f18 (diff)
downloadpkgsrc-c93731c57467de8cf2b0737a3f90869cfc3d1cc7.tar.gz
Fix build on amd64. Add same workaround for other 64-bit platforms.
Remove outdated comment. From Martijn in PR 33189.
Diffstat (limited to 'lang')
-rw-r--r--lang/clisp/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/lang/clisp/Makefile b/lang/clisp/Makefile
index d87c1ccc071..4953134d110 100644
--- a/lang/clisp/Makefile
+++ b/lang/clisp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.51 2006/03/16 22:17:04 wiz Exp $
+# $NetBSD: Makefile,v 1.52 2006/04/04 19:12:10 wiz Exp $
DISTNAME= clisp-2.38
CATEGORIES= lang
@@ -9,14 +9,18 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://clisp.cons.org/
COMMENT= CLISP, a Common Lisp implementation
-# XXX: uncomment if still true (commented out during update to 2.38)
-#NOT_FOR_PLATFORM= *-*-alpha *-*-x86_64 # severe LP64 problems
# Sparc64 has assembler code problems, see
# http://sourceforge.net/tracker/index.php?func=detail&aid=952681&group_id=1355&atid=101355
NOT_FOR_PLATFORM= *-*-sparc64
PKG_INSTALLATION_TYPES= overwrite pkgviews
+.include "../../mk/bsd.prefs.mk"
+
+.if ${MACHINE_ARCH:Malpha} || ${MACHINE_ARCH:Mamd64} || ${MACHINE_ARCH:Mx86_64}
+MODULES+= --disable-mmap
+.endif
+
USE_PKGLOCALEDIR= YES
BUILD_DIRS= src
CONFIGURE_DIRS= . modules/i18n modules/syscalls modules/pcre modules/rawsock \