aboutsummaryrefslogtreecommitdiffstats
path: root/misc/32upgrade/Makefile
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-06-03 08:43:09 +0800
committerasami <asami@FreeBSD.org>2000-06-03 08:43:09 +0800
commita3e6d32fa273d5f6b2cbe8c805f66783da68b64d (patch)
tree6b2c950aa75b6f6d169a858108ea9d1942271749 /misc/32upgrade/Makefile
parentaee22d107191280294f8ac010d3d2824312bb783 (diff)
downloadfreebsd-ports-gnome-a3e6d32fa273d5f6b2cbe8c805f66783da68b64d.tar.gz
freebsd-ports-gnome-a3e6d32fa273d5f6b2cbe8c805f66783da68b64d.tar.zst
freebsd-ports-gnome-a3e6d32fa273d5f6b2cbe8c805f66783da68b64d.zip
Use version from /var/db/port.mkversion (basically the system's version),
instead of what bsd.port.mk says.
Diffstat (limited to 'misc/32upgrade/Makefile')
-rw-r--r--misc/32upgrade/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/32upgrade/Makefile b/misc/32upgrade/Makefile
index ca676b06e508..554ab0723fc3 100644
--- a/misc/32upgrade/Makefile
+++ b/misc/32upgrade/Makefile
@@ -24,9 +24,10 @@ NO_MTREE= yes
PREFIX= /
NO_BUILD= yes
PKGINSTALL= ${WRKDIR}/INSTALL
+DATE!= cat /var/db/port.mkversion
do-install:
- ${SED} -e "s/%%VERSION%%/${BSDPORTMKVERSION}/" ${PKGDIR}/INSTALL \
+ ${SED} -e "s/%%VERSION%%/${DATE}/" ${PKGDIR}/INSTALL \
> ${PKGINSTALL}
deinstall: