summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2008-05-28 14:51:01 +0000
committerflz <flz@FreeBSD.org>2008-05-28 14:51:01 +0000
commit518b3fa5fc5109203bc1f0ca1cff09c91329c70d (patch)
tree99907f88089f48bf6d1045f653eb4e89577f24e6 /usr.sbin/pkg_install
parent511de48450e36bbd47df82816d79b10d5eb5b148 (diff)
downloadFreeBSD-src-518b3fa5fc5109203bc1f0ca1cff09c91329c70d.zip
FreeBSD-src-518b3fa5fc5109203bc1f0ca1cff09c91329c70d.tar.gz
Use PKG_INSTALL_VERSION for the distfile name instead of current date.
X-MFC after: pkg_install sync on -STABLE branches
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r--usr.sbin/pkg_install/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/Makefile b/usr.sbin/pkg_install/Makefile
index 8b5673e..434d3b7 100644
--- a/usr.sbin/pkg_install/Makefile
+++ b/usr.sbin/pkg_install/Makefile
@@ -10,7 +10,7 @@ CP= /bin/cp
RM= /bin/rm
TAR= /usr/bin/tar
-DATE!= date +%Y%m%d
+DATE!= grep PKG_INSTALL_VERSION ${.CURDIR}/lib/lib.h | sed 's|.*[ ]||'
distfile: clean
@(cd ${.CURDIR}/..; \
OpenPOWER on IntegriCloud