Add files from parent branch HEAD:
[pkgsrc.git] / shells / zsh-current / options.mk
1 # $NetBSD: options.mk,v 1.1 2006/03/11 13:20:15 uebayasi Exp $
2
3 PKG_OPTIONS_VAR=        PKG_OPTIONS.zsh
4 PKG_SUPPORTED_OPTIONS=  zsh-multibyte
5 PKG_SUGGESTED_OPTIONS=
6
7 .if !defined(ZSH_STATIC)
8 PKG_SUPPORTED_OPTIONS+= pcre
9 .endif
10
11 .include "../../mk/bsd.options.mk"
12
13 .if !empty(PKG_OPTIONS:Mzsh-multibyte)
14 CONFIGURE_ARGS+=        --enable-multibyte
15 .endif
16
17 .if !empty(PKG_OPTIONS:Mpcre)
18 PCRE_CONFIG=            ${BUILDLINK_PREFIX.pcre}/bin/pcre-config
19 CONFIGURE_ARGS+=        --with-pcre
20 CONFIGURE_ENV+=         PCRE_CONFIG=${PCRE_CONFIG:Q}
21 .  include "../../devel/pcre/buildlink3.mk"
22 .endif