summaryrefslogtreecommitdiff
path: root/lang/clisp
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2007-11-23 21:59:44 +0000
committerdrochner <drochner@pkgsrc.org>2007-11-23 21:59:44 +0000
commit547fd8528a2f1233fd51cf5bd01342ac284db1fe (patch)
treefa8f2418cc519d749688a9369e4f63737b2cda54 /lang/clisp
parent89acd08d364c3324c618c2877805448fa5dcc7ab (diff)
downloadpkgsrc-547fd8528a2f1233fd51cf5bd01342ac284db1fe.tar.gz
Make it build on NetBSD-current again: use a private malloc implementation
to avoid jemalloc. The simple allocator used by clisp in the NetBSD case appears to use some assumptions, like allocations below sbrk(), which don't hold with jemalloc. We might switch to another allocator later, but as the code looks this needs more work and testing. From Aleksej Saushev per PR pkg/37381; the patch is attributed to Arnaud Degroote. Should also fix PR pkg/37304 from Yakovetsky Vladimir.
Diffstat (limited to 'lang/clisp')
-rw-r--r--lang/clisp/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/clisp/Makefile b/lang/clisp/Makefile
index 648ee9495c7..36be77c17a5 100644
--- a/lang/clisp/Makefile
+++ b/lang/clisp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.64 2007/11/03 22:36:06 rillig Exp $
+# $NetBSD: Makefile,v 1.65 2007/11/23 21:59:44 drochner Exp $
DISTNAME= clisp-2.41
CATEGORIES= lang
@@ -17,6 +17,11 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "NetBSD"
+# CLISP doesn't work with jemalloc, which is default in current
+MODULES+= --with-gmalloc
+.endif
+
.if ${MACHINE_ARCH:Malpha} || ${MACHINE_ARCH:Mamd64} || ${MACHINE_ARCH:Mx86_64} || ${OPSYS} == "DragonFly"
MODULES+= --disable-mmap
.endif