summaryrefslogtreecommitdiff
path: root/shells/zsh-current
diff options
context:
space:
mode:
Diffstat (limited to 'shells/zsh-current')
-rw-r--r--shells/zsh-current/Makefile7
-rw-r--r--shells/zsh-current/PLIST3
-rw-r--r--shells/zsh-current/PLIST.Linux1
3 files changed, 8 insertions, 3 deletions
diff --git a/shells/zsh-current/Makefile b/shells/zsh-current/Makefile
index b2a78f3ac87..f4a748d061f 100644
--- a/shells/zsh-current/Makefile
+++ b/shells/zsh-current/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2011/04/05 15:03:44 ryoon Exp $
+# $NetBSD: Makefile,v 1.22 2011/07/22 12:28:26 ryoon Exp $
.include "../../shells/zsh/Makefile.common"
@@ -9,6 +9,11 @@ USE_TOOLS+= env
CONFIGURE_ARGS+= --disable-gdbm
+PLIST_VARS+= xattr
+.if exists(/usr/include/sys/xattr.h)
+PLIST.xattr= yes
+.endif
+
SUBST_CLASSES+= prefix-fixup
SUBST_STAGE.prefix-fixup= pre-configure
SUBST_FILES.prefix-fixup= \
diff --git a/shells/zsh-current/PLIST b/shells/zsh-current/PLIST
index 9780ce7d42e..7f8d3ea7b8a 100644
--- a/shells/zsh-current/PLIST
+++ b/shells/zsh-current/PLIST
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.21 2011/04/05 15:03:44 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.22 2011/07/22 12:28:26 ryoon Exp $
bin/zsh
bin/${PKGNAME}
info/zsh.info
+${PLIST.dynamic}${PLIST.xattr}lib/zsh/${PKGVERSION}/zsh/attr.so
${PLIST.dynamic}lib/zsh/${PKGVERSION}/zsh/cap.so
${PLIST.dynamic}lib/zsh/${PKGVERSION}/zsh/clone.so
${PLIST.dynamic}lib/zsh/${PKGVERSION}/zsh/compctl.so
diff --git a/shells/zsh-current/PLIST.Linux b/shells/zsh-current/PLIST.Linux
deleted file mode 100644
index 070cc03aeeb..00000000000
--- a/shells/zsh-current/PLIST.Linux
+++ /dev/null
@@ -1 +0,0 @@
-${PLIST.dynamic}lib/zsh/4.3.11/zsh/attr.so