pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/clisp Fix build on amd64. Add same workaround for...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/15520cb4ec00
branches:  trunk
changeset: 510824:15520cb4ec00
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Apr 04 19:12:10 2006 +0000

description:
Fix build on amd64. Add same workaround for other 64-bit platforms.
Remove outdated comment.

>From Martijn in PR 33189.

diffstat:

 lang/clisp/Makefile |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 775534aab213 -r 15520cb4ec00 lang/clisp/Makefile
--- a/lang/clisp/Makefile       Tue Apr 04 19:11:33 2006 +0000
+++ b/lang/clisp/Makefile       Tue Apr 04 19:12:10 2006 +0000
@@ -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 @@
 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 \



Home | Main Index | Thread Index | Old Index