pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk We only need "date" to write the date into the +PRE...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2bb7d37f9dca
branches:  trunk
changeset: 493884:2bb7d37f9dca
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Mon May 16 04:48:05 2005 +0000

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

diffstat:

 mk/bsd.pkg.mk |  12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r 572dadce3578 -r 2bb7d37f9dca mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Mon May 16 04:45:40 2005 +0000
+++ b/mk/bsd.pkg.mk     Mon May 16 04:48:05 2005 +0000
@@ -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 @@
 # 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+=     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



Home | Main Index | Thread Index | Old Index