diff options
-rw-r--r-- | shells/zsh/Makefile.common | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/shells/zsh/Makefile.common b/shells/zsh/Makefile.common index 660c55393ef..2415b4ff6de 100644 --- a/shells/zsh/Makefile.common +++ b/shells/zsh/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.74 2015/02/02 13:54:59 jperkin Exp $ +# $NetBSD: Makefile.common,v 1.75 2015/06/04 15:08:14 ryoon Exp $ # used by shells/zsh/Makefile # used by shells/zsh-current/Makefile @@ -16,7 +16,7 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-etcdir=${PKG_SYSCONFDIR:Q} USE_LANGUAGES= c c99 -USE_TOOLS+= makeinfo +USE_TOOLS+= awk makeinfo INFO_FILES= yes TEXINFO_REQD= 4.0 @@ -40,10 +40,11 @@ PLIST_VARS+= xattr PLIST.xattr= yes .endif -# Handle any PKG_OPTIONS that this package might have. -.sinclude "options.mk" +PKG_OPTIONS_VAR= PKG_OPTIONS.zsh +PKG_SUPPORTED_OPTIONS= static + +.include "../../mk/bsd.options.mk" -BUILD_DEFS+= ZSH_STATIC MAKE_JOBS_SAFE= no INSTALL_TARGET= install install.info PKG_SHELL= bin/zsh @@ -107,8 +108,7 @@ PLIST.curses= yes # XXXUEBAYASI old make(1) has problems to handle :?true_str:false_str #_ZSH_LINKAGE= ${ZSH_STATIC:M[Yy][Ee][Ss]:?static:dynamic} # static / dynamic -ZSH_STATIC?= no -.if !empty(ZSH_STATIC:M[Yy][Ee][Ss]) +.if !empty(PKG_OPTIONS:Mstatic) _ZSH_LINKAGE= static .else _ZSH_LINKAGE= dynamic |