pkgsrc-Changes archive

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

CVS commit: pkgsrc/shells/zsh



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Mar 14 09:45:25 UTC 2019

Modified Files:
        pkgsrc/shells/zsh: options.mk

Log Message:
zsh: add debug option, default off

This makes zsh much more stable on -current for me.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/shells/zsh/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/shells/zsh/options.mk
diff -u pkgsrc/shells/zsh/options.mk:1.2 pkgsrc/shells/zsh/options.mk:1.3
--- pkgsrc/shells/zsh/options.mk:1.2    Fri Oct 13 09:35:19 2017
+++ pkgsrc/shells/zsh/options.mk        Thu Mar 14 09:45:25 2019
@@ -1,10 +1,20 @@
-# $NetBSD: options.mk,v 1.2 2017/10/13 09:35:19 jperkin Exp $
+# $NetBSD: options.mk,v 1.3 2019/03/14 09:45:25 wiz Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.zsh
-PKG_SUPPORTED_OPTIONS=         static
+PKG_SUPPORTED_OPTIONS=         debug static
 
 .include "../../mk/bsd.options.mk"
 
+.if !empty(PKG_OPTIONS:Mdebug)
+CONFIGURE_ARGS+=       --enable-zsh-debug
+CONFIGURE_ARGS+=       --enable-zsh-hash-debug
+CONFIGURE_ARGS+=       --enable-zsh-heap-debug
+CONFIGURE_ARGS+=       --enable-zsh-mem
+CONFIGURE_ARGS+=       --enable-zsh-mem-debug
+CONFIGURE_ARGS+=       --enable-zsh-mem-warning
+CONFIGURE_ARGS+=       --enable-zsh-secure-free
+.endif
+
 PLIST_VARS+=           dynamic
 .if !empty(PKG_OPTIONS:Mstatic)
 CONFIGURE_ARGS+=       --disable-dynamic



Home | Main Index | Thread Index | Old Index