summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam>2005-05-16 04:30:41 +0000
committerjlam <jlam>2005-05-16 04:30:41 +0000
commit8b98ed70804fc755a41ad1ce2a7c8c1fbec6e79d (patch)
treebc6fd620f748253790c8d51f1d2d561bef46eb83 /mk
parent4aee3ff0aaffad869befbf13aa907cbf25c0680e (diff)
downloadpkgsrc-8b98ed70804fc755a41ad1ce2a7c8c1fbec6e79d.tar.gz
tsort is only used by bsd.bulk-pkg.mk.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk11
1 files changed, 8 insertions, 3 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 53399e70229..f543f79d099 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1658 2005/05/16 03:07:38 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1659 2005/05/16 04:30:41 jlam Exp $
#
# This file is in the public domain.
#
@@ -831,9 +831,14 @@ 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 head hostname id \
+ echo egrep env expr false file find grep head hostname id \
install ln ls m4 mkdir mv nice pax pwd rm rmdir sed sh sort \
- tail tee test touch tr true tsort wc xargs
+ tail tee test touch tr true wc xargs
+
+# bsd.bulk-pkg.mk uses tsort
+.if defined(BATCH)
+PKGSRC_USE_TOOLS+= tsort
+.endif
.if !defined(NO_MTREE)
PKGSRC_USE_TOOLS+= mtree