summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>2000-06-03 00:43:09 +0000
committerSatoshi Asami <asami@FreeBSD.org>2000-06-03 00:43:09 +0000
commit61e426751fc0a0c19fb6250158611fb74e1c729e (patch)
tree94d1574f03c5863f7c3fd124a182b2adab487d4d /misc
parentChase directory name change in *_DEPENDS, to get package building going again. (diff)
Use version from /var/db/port.mkversion (basically the system's version),
instead of what bsd.port.mk says.
Notes
Notes: svn path=/head/; revision=29128
Diffstat (limited to 'misc')
-rw-r--r--misc/30upgrade/Makefile3
-rw-r--r--misc/31upgrade/Makefile3
-rw-r--r--misc/32upgrade/Makefile3
-rw-r--r--misc/34upgrade/Makefile3
4 files changed, 8 insertions, 4 deletions
diff --git a/misc/30upgrade/Makefile b/misc/30upgrade/Makefile
index 5862dae01b0c..47614dbd4c54 100644
--- a/misc/30upgrade/Makefile
+++ b/misc/30upgrade/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:
diff --git a/misc/31upgrade/Makefile b/misc/31upgrade/Makefile
index 746726341c66..46c6c7eb09c5 100644
--- a/misc/31upgrade/Makefile
+++ b/misc/31upgrade/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:
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:
diff --git a/misc/34upgrade/Makefile b/misc/34upgrade/Makefile
index b3804b760b28..6a22ed0001a4 100644
--- a/misc/34upgrade/Makefile
+++ b/misc/34upgrade/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: