summaryrefslogtreecommitdiff
path: root/shells/zsh
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2007-08-07 18:54:31 +0000
committerjlam <jlam@pkgsrc.org>2007-08-07 18:54:31 +0000
commit810bc4a962a10101a395fd0628816cc6c9db5e70 (patch)
tree844b6e2e53d1030cbb2ac41b789ecf9d843cf223 /shells/zsh
parentc21e9ba303f15af8463031112a50f86cc644c9e4 (diff)
downloadpkgsrc-810bc4a962a10101a395fd0628816cc6c9db5e70.tar.gz
Fix DESTDIR-handling for zsh-current by ensuring that the destdir-support
line is defined before bsd.prefs.mk is included.
Diffstat (limited to 'shells/zsh')
-rw-r--r--shells/zsh/Makefile.common5
1 files changed, 4 insertions, 1 deletions
diff --git a/shells/zsh/Makefile.common b/shells/zsh/Makefile.common
index 0150efc0f03..f5ad2d1edc9 100644
--- a/shells/zsh/Makefile.common
+++ b/shells/zsh/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.39 2007/07/20 16:36:59 joerg Exp $
+# $NetBSD: Makefile.common,v 1.40 2007/08/07 18:54:31 jlam Exp $
DISTNAME= zsh-${ZSH_VERSION}
CATEGORIES= shells
@@ -27,6 +27,9 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
.include "../../mk/bsd.prefs.mk"
+# Handle any PKG_OPTIONS that this package might have.
+.sinclude "options.mk"
+
BUILD_DEFS+= ZSH_STATIC
.if defined(ZSH_STATIC) && !empty(ZSH_STATIC:M[Yy][Ee][Ss])