summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authordrochner <drochner>2007-11-23 21:59:44 +0000
committerdrochner <drochner>2007-11-23 21:59:44 +0000
commit37fa298dae7a4c8e3e1c630cb683f9f42ca3adb2 (patch)
treefa8f2418cc519d749688a9369e4f63737b2cda54 /lang
parent71019d2357c056646c9e8343221419f8d53e4708 (diff)
downloadpkgsrc-37fa298dae7a4c8e3e1c630cb683f9f42ca3adb2.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')
-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