summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
Diffstat (limited to 'shells')
-rw-r--r--shells/zsh/Makefile3
-rw-r--r--shells/zsh/options.mk4
2 files changed, 5 insertions, 2 deletions
diff --git a/shells/zsh/Makefile b/shells/zsh/Makefile
index 34e6a0c693c..ca123e02a61 100644
--- a/shells/zsh/Makefile
+++ b/shells/zsh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.90 2019/03/15 12:44:13 ryoon Exp $
+# $NetBSD: Makefile,v 1.91 2019/03/16 13:29:30 ryoon Exp $
DISTNAME= zsh-5.7.1
CATEGORIES= shells
@@ -19,6 +19,7 @@ TEXINFO_REQD= 4.0
CONFIGURE_ARGS+= --disable-gdbm
CONFIGURE_ARGS+= --enable-etcdir=${PKG_SYSCONFDIR:Q}
# Stabilize zsh without jemalloc in libc
+# XXX Remove this and enable it in debug option. jemalloc in libc is stable now.
CONFIGURE_ARGS+= --enable-zsh-mem
# Ensure we can find initscr(3) otherwise the curses module will not be built.
diff --git a/shells/zsh/options.mk b/shells/zsh/options.mk
index fb28245808a..437e73b2e44 100644
--- a/shells/zsh/options.mk
+++ b/shells/zsh/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.4 2019/03/15 12:44:13 ryoon Exp $
+# $NetBSD: options.mk,v 1.5 2019/03/16 13:29:30 ryoon Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.zsh
PKG_SUPPORTED_OPTIONS= debug static
@@ -12,6 +12,8 @@ CONFIGURE_ARGS+= --enable-zsh-heap-debug
CONFIGURE_ARGS+= --enable-zsh-mem-debug
CONFIGURE_ARGS+= --enable-zsh-mem-warning
CONFIGURE_ARGS+= --enable-zsh-secure-free
+# XXX Enable this and remove it in debug option. jemalloc in libc is stable now.
+#CONFIGURE_ARGS+= --enable-zsh-mem
.endif
PLIST_VARS+= dynamic