diff options
author | salo <salo@pkgsrc.org> | 2004-07-11 01:23:29 +0000 |
---|---|---|
committer | salo <salo@pkgsrc.org> | 2004-07-11 01:23:29 +0000 |
commit | 0ac98a26ded1920f661dd461da8e1ab6de39b94d (patch) | |
tree | a046c81dbeaf3dda38938a822d220a74755ad746 /shells/zsh | |
parent | 9d0a5a8bfa13301e612ab12b0ef06e983fd20224 (diff) | |
download | pkgsrc-0ac98a26ded1920f661dd461da8e1ab6de39b94d.tar.gz |
Add {BA,Z}SH_STATIC to BUILD_DEFS.
Addresses request on tech-pkg@ by Georg Schwarz.
Diffstat (limited to 'shells/zsh')
-rw-r--r-- | shells/zsh/Makefile.common | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/shells/zsh/Makefile.common b/shells/zsh/Makefile.common index 6611ff3ce50..8d79aa11aae 100644 --- a/shells/zsh/Makefile.common +++ b/shells/zsh/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.11 2004/05/06 22:29:36 cube Exp $ +# $NetBSD: Makefile.common,v 1.12 2004/07/11 01:23:29 salo Exp $ DISTNAME= zsh-${ZSH_VERSION} PKGREVISION= 1 @@ -26,7 +26,9 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews .include "../../mk/bsd.prefs.mk" -.if defined(ZSH_STATIC) +BUILD_DEFS+= ZSH_STATIC + +.if defined(ZSH_STATIC) && !empty(ZSH_STATIC:M[Yy][Ee][Ss]) CONFIGURE_ARGS+=--disable-dynamic LDFLAGS+= -static .else |