summaryrefslogtreecommitdiff
path: root/shells/zsh
diff options
context:
space:
mode:
authorjlam <jlam>2007-08-07 18:54:31 +0000
committerjlam <jlam>2007-08-07 18:54:31 +0000
commit17eaa0e65122cc18cda501f9c45058fcd074a259 (patch)
tree844b6e2e53d1030cbb2ac41b789ecf9d843cf223 /shells/zsh
parentf3db24b25c0931cd3eb189f1c30032f5ca38694b (diff)
downloadpkgsrc-17eaa0e65122cc18cda501f9c45058fcd074a259.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])