aboutsummaryrefslogtreecommitdiffstats
path: root/shells/zsh
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2011-11-07 02:35:06 +0800
committerbapt <bapt@FreeBSD.org>2011-11-07 02:35:06 +0800
commita26f46bc970678b55bc4ddec260fcb5e256d116c (patch)
treef34243c476475bf86118cd54f2b05663538e3b70 /shells/zsh
parentb1125914ef46eea7d9c6ffd251d2840e83cffacb (diff)
downloadfreebsd-ports-gnome-a26f46bc970678b55bc4ddec260fcb5e256d116c.tar.gz
freebsd-ports-gnome-a26f46bc970678b55bc4ddec260fcb5e256d116c.tar.zst
freebsd-ports-gnome-a26f46bc970678b55bc4ddec260fcb5e256d116c.zip
- split the zsh_mem option into zsh_mem and zsh_secure_free activate secure_free my default disable mem by default[1]
- correct memory report for time builtin [2] - bump portrevision PR: ports/143981 [1], ports/152820 [2] Submitted by: Richard Kolkovich <sarumont@sigil.org> [1], Anonymous <swell.k@gmail.com> and Tsu <inyaoo@gmail.com> [2] Hurried by: miwi :)
Diffstat (limited to 'shells/zsh')
-rw-r--r--shells/zsh/Makefile27
1 files changed, 19 insertions, 8 deletions
diff --git a/shells/zsh/Makefile b/shells/zsh/Makefile
index c7927961e8ec..3cf78cea2ef5 100644
--- a/shells/zsh/Makefile
+++ b/shells/zsh/Makefile
@@ -7,7 +7,7 @@
PORTNAME= zsh
PORTVERSION= 4.3.12
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= shells
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-dev/${PORTVERSION}:src \
SF/${PORTNAME}/${PORTNAME}-doc-dev/${PORTVERSION}:doc
@@ -18,6 +18,11 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:src ${DISTNAME}-doc${EXTRACT_SUFX}:doc
MAINTAINER= bapt@FreeBSD.org
COMMENT= The Z shell
+LICENSE= ZSH
+LICENSE_NAME= ZSH license
+LICENSE_FILE= ${WRKSRC}/LICENCE
+LICENSE_PERMS= ${_LICENSE_PERMS_DEFAULT}
+
MAKE_JOBS_UNSAFE= yes
ZSH_VER= ${PORTVERSION}
@@ -39,13 +44,9 @@ EXTRA_PATCHES= ${FILESDIR}/extra-patch-bsdtar
#EXTRA_COMPLETION_FILES= _sockstat
#EXTRA_COMPLETION_DIR= Completion/BSD/Command
-LICENSE= ZSH
-LICENSE_NAME= ZSH license
-LICENSE_PERMS= ${_LICENSE_PERMS_DEFAULT}
-LICENSE_FILE= ${WRKSRC}/LICENCE
-
OPTIONS= ZSH_GDBM "Enable GDBM support (GPL)" off \
- ZSH_MEM "Enable zsh-mem and zsh-secure-free options" on \
+ ZSH_MEM "Enable zsh-mem options" off \
+ ZSH_SECURE_FREE "Enable zsh-secure-free" on \
ZSH_MAILDIR "Enable support for Maildirs in MAIL(PATH)" on \
ZSH_MULTIBYTE "Enable multibyte character support" on \
ZSH_PCRE "Enable PCRE support" off \
@@ -83,7 +84,11 @@ PLIST_SUB+= PCRE="@comment "
.endif
.if defined(WITH_ZSH_MEM)
-CONFIGURE_ARGS+= --enable-zsh-mem --enable-zsh-secure-free
+CONFIGURE_ARGS+= --enable-zsh-mem
+.endif
+
+.if defined(WITH_ZSH_SECURE_FREE)
+CONFIGURE_ARGS+= --enable-zsh-secure-free
.endif
.if defined(WITH_ZSH_MAILDIR)
@@ -99,6 +104,12 @@ CONFIGURE_ARGS+= --enable-dynamic
PLIST_SUB+= SHARED=""
.endif
+.if defined(WITH_DEBUG)
+CONFIGURE_ARGS+= --enable-zsh-debug
+.else
+CONFIGURE_ARGS+= --disable-zsh-debug
+.endif
+
.if defined(WITH_ZSH_MULTIBYTE)
CONFIGURE_ARGS+= --enable-multibyte
.else