diff options
author | jlam <jlam> | 2005-05-16 04:48:05 +0000 |
---|---|---|
committer | jlam <jlam> | 2005-05-16 04:48:05 +0000 |
commit | 7be7720f3207025f4711289484b9c8dcb184a56c (patch) | |
tree | e1bf40f2eb1a9abb9fa7571f21230871c2db7fb3 /mk | |
parent | 35eb3cbc5009615480d59543a0f9932b2862342d (diff) | |
download | pkgsrc-7be7720f3207025f4711289484b9c8dcb184a56c.tar.gz |
We only need "date" to write the date into the +PRESERVE file.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 3dd2e6c8225..4f098d293d2 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -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 |