diff options
author | dillo <dillo> | 2006-04-24 20:19:03 +0000 |
---|---|---|
committer | dillo <dillo> | 2006-04-24 20:19:03 +0000 |
commit | 21424e90cfb558ddbbeeafc06c77ac246ad5d5d1 (patch) | |
tree | ed15254a814f33c8a521e59b821fe9ddd8a2e609 /mk/bsd.pkg.mk | |
parent | f96f299a42cb5ceeea6524b1fc68098a07e40a54 (diff) | |
download | pkgsrc-21424e90cfb558ddbbeeafc06c77ac246ad5d5d1.tar.gz |
Rename recently added BUILD_INFO variable DATE to BUILD_DATE, and
the make variable holding its value to _BUILD_DATE.
Discussed on tech-pkg.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r-- | mk/bsd.pkg.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 0884a825dfa..df741ed06d5 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1818 2006/04/22 08:36:07 rillig Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1819 2006/04/24 20:19:03 dillo Exp $ # # This file is in the public domain. # @@ -423,8 +423,8 @@ _PKGSRC_BUILD_TARGETS= build test _PKGSRC_BUILD_TARGETS= build .endif -.if !defined(_THE_DATE) -_THE_DATE!= ${DATE} "+%Y-%m-%d %H:%M:%S %z" +.if !defined(_BUILD_DATE) +_BUILD_DATE!= ${DATE} "+%Y-%m-%d %H:%M:%S %z" .endif # The user can override the NO_PACKAGE by specifying this from @@ -3624,7 +3624,7 @@ post-install-fake-pkg: ${PLIST} ${DESCR} ${MESSAGE} ${_PKG_SILENT}${_PKG_DEBUG} \ ${ECHO} "MAINTAINER=${MAINTAINER}" >> ${BUILD_INFO_FILE} ${_PKG_SILENT}${_PKG_DEBUG} \ - ${ECHO} "DATE=${_THE_DATE}" >> ${BUILD_INFO_FILE} + ${ECHO} "BUILD_DATE=${_BUILD_DATE}" >> ${BUILD_INFO_FILE} ${_PKG_SILENT}${_PKG_DEBUG} \ size_this=`${MAKE} ${MAKEFLAGS} print-pkg-size-this`; \ size_depends=`${MAKE} ${MAKEFLAGS} print-pkg-size-depends`; \ |