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
commit81124eaec93f7242ee717ad2a645cd701df2e6f5 (patch)
treefa8f2418cc519d749688a9369e4f63737b2cda54 /lang/clisp
parente3b2c8ec027ce2c4ed432291582c0d194b9755ba (diff)
downloadpkgsrc-81124eaec93f7242ee717ad2a645cd701df2e6f5.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