summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam>2005-05-16 00:11:50 +0000
committerjlam <jlam>2005-05-16 00:11:50 +0000
commit406c7bc38282206e61de939cf08448ceabc2a106 (patch)
treebce928228a0f46222b5b56ec8b1efa01467e98b2 /mk
parentcaa7fedc949b44e3e111643ee1110070f729618d (diff)
downloadpkgsrc-406c7bc38282206e61de939cf08448ceabc2a106.tar.gz
We only need mtree if NO_MTREE isn't defined.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk11
1 files changed, 7 insertions, 4 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index b603737a9c2..5db514eb119 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1656 2005/05/16 00:00:35 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1657 2005/05/16 00:11:50 jlam Exp $
#
# This file is in the public domain.
#
@@ -832,9 +832,12 @@ BUILD_DEFS+= PKG_SYSCONFBASEDIR PKG_SYSCONFDIR
PKGSRC_USE_TOOLS+= \
[ awk basename cat chgrp chmod chown cmp cp cut date dirname \
echo egrep env expr false fgrep file find grep gtar head \
- hostname id install ln ls m4 mkdir mtree mv nice pax pwd rm \
- rmdir sed sh sort tail tar tee test touch tr true tsort wc \
- xargs
+ hostname id install ln ls m4 mkdir mv nice pax pwd rm rmdir sed \
+ sh sort tail tar tee test touch tr true tsort wc xargs
+
+.if !defined(NO_MTREE)
+PKGSRC_USE_TOOLS+= mtree
+.endif
# We need a mail command to send mail to ${PKGSRC_MESSAGE_RECIPIENTS}.
.if !empty(PKGSRC_MESSAGE_RECIPIENTS)