From c93731c57467de8cf2b0737a3f90869cfc3d1cc7 Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 4 Apr 2006 19:12:10 +0000 Subject: Fix build on amd64. Add same workaround for other 64-bit platforms. Remove outdated comment. From Martijn in PR 33189. --- lang/clisp/Makefile | 10 +++++++--- 1 file 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 \ -- cgit v1.2.3