1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00

- 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 :)
This commit is contained in:
Baptiste Daroussin 2011-11-06 18:35:06 +00:00
parent 4f5d3f7d8b
commit 9bf9c7fcf0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=285184

View File

@ -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