diff options
author | bjs <bjs@pkgsrc.org> | 2007-11-07 09:59:27 +0000 |
---|---|---|
committer | bjs <bjs@pkgsrc.org> | 2007-11-07 09:59:27 +0000 |
commit | 39b78b5308a55952076c1ecdcf4c76323f71fd91 (patch) | |
tree | cf1e42691189760becb96bb215640de5d744b35e /shells/zsh-current/options.mk | |
parent | 6ad274f2d76a4ae992efabec21e41313408cae19 (diff) | |
download | pkgsrc-39b78b5308a55952076c1ecdcf4c76323f71fd91.tar.gz |
Add support for pcre to options.mk if ZSH_STATIC is undefined. Bump rev.
Diffstat (limited to 'shells/zsh-current/options.mk')
-rw-r--r-- | shells/zsh-current/options.mk | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/shells/zsh-current/options.mk b/shells/zsh-current/options.mk index db8222a85e9..9aedd214664 100644 --- a/shells/zsh-current/options.mk +++ b/shells/zsh-current/options.mk @@ -1,11 +1,22 @@ -# $NetBSD: options.mk,v 1.1 2006/03/11 13:20:15 uebayasi Exp $ +# $NetBSD: options.mk,v 1.2 2007/11/07 09:59:27 bjs Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.zsh PKG_SUPPORTED_OPTIONS= zsh-multibyte PKG_SUGGESTED_OPTIONS= +.if !defined(ZSH_STATIC) +PKG_SUPPORTED_OPTIONS+= pcre +.endif + .include "../../mk/bsd.options.mk" .if !empty(PKG_OPTIONS:Mzsh-multibyte) CONFIGURE_ARGS+= --enable-multibyte .endif + +.if !empty(PKG_OPTIONS:Mpcre) +PCRE_CONFIG= ${BUILDLINK_PREFIX.pcre}/bin/pcre-config +CONFIGURE_ARGS+= --with-pcre +CONFIGURE_ENV+= PCRE_CONFIG=${PCRE_CONFIG:Q} +. include "../../devel/pcre/buildlink3.mk" +.endif |