summaryrefslogtreecommitdiff
path: root/shells/zsh3
diff options
context:
space:
mode:
authorsalo <salo>2004-07-11 01:23:29 +0000
committersalo <salo>2004-07-11 01:23:29 +0000
commit4ff990a12a49ed1e15f39ae3faa0e0c034753696 (patch)
treea046c81dbeaf3dda38938a822d220a74755ad746 /shells/zsh3
parenta795677c6260ebc8a551eaa3ccf9de11e6134e22 (diff)
downloadpkgsrc-4ff990a12a49ed1e15f39ae3faa0e0c034753696.tar.gz
Add {BA,Z}SH_STATIC to BUILD_DEFS.
Addresses request on tech-pkg@ by Georg Schwarz.
Diffstat (limited to 'shells/zsh3')
-rw-r--r--shells/zsh3/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/shells/zsh3/Makefile b/shells/zsh3/Makefile
index 52b15cd1d16..be5c2c427c4 100644
--- a/shells/zsh3/Makefile
+++ b/shells/zsh3/Makefile
@@ -1,4 +1,5 @@
-# $NetBSD: Makefile,v 1.11 2004/04/18 04:36:42 snj Exp $
+# $NetBSD: Makefile,v 1.12 2004/07/11 01:23:29 salo Exp $
+#
DISTNAME= zsh-3.0.8
CATEGORIES= shells
@@ -13,14 +14,17 @@ HOMEPAGE= http://sunsite.dk/zsh/
COMMENT= The Z shell
GNU_CONFIGURE= yes
+USE_BUILDLINK3= YES
USE_MAKEINFO= YES
+USE_PKGINSTALL= YES
+
INFO_FILES= zsh.info
-USE_BUILDLINK3= YES
-USE_PKGINSTALL= YES
.include "../../mk/bsd.prefs.mk"
-.if defined(ZSH_STATIC)
+BUILD_DEFS+= ZSH_STATIC
+
+.if defined(ZSH_STATIC) && !empty(ZSH_STATIC:M[Yy][Ee][Ss])
LDFLAGS+= -static
.endif