We only need "date" to write the date into the +PRESERVE file.

This commit is contained in:
jlam 2005-05-16 04:48:05 +00:00
parent 027e635db4
commit 86c375af36

View file

@ -1,4 +1,4 @@
# $NetBSD: bsd.pkg.mk,v 1.1660 2005/05/16 04:39:04 jlam Exp $
# $NetBSD: bsd.pkg.mk,v 1.1661 2005/05/16 04:48:05 jlam Exp $
#
# This file is in the public domain.
#
@ -830,9 +830,9 @@ BUILD_DEFS+= PKG_SYSCONFBASEDIR PKG_SYSCONFDIR
# phases of a pkgsrc build.
#
PKGSRC_USE_TOOLS+= \
[ awk basename cat chgrp chmod chown cmp cp cut date dirname \
echo egrep env false file find grep head hostname id install ln \
ls m4 mkdir mv nice pax pwd rm rmdir sed sh sort tail tee test \
[ awk basename cat chgrp chmod chown cmp cp cut dirname echo \
egrep env 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 wc xargs
# bsd.bulk-pkg.mk uses expr, tsort
@ -844,6 +844,10 @@ PKGSRC_USE_TOOLS+= expr tsort
PKGSRC_USE_TOOLS+= mtree
.endif
.if defined(PKG_PRESERVE)
PKGSRC_USE_TOOLS+= date
.endif
# We need a mail command to send mail to ${PKGSRC_MESSAGE_RECIPIENTS}.
.if !empty(PKGSRC_MESSAGE_RECIPIENTS)
PKGSRC_USE_TOOLS+= mail