Use version from /var/db/port.mkversion (basically the system's version),

instead of what bsd.port.mk says.
This commit is contained in:
Satoshi Asami 2000-06-03 00:43:09 +00:00
parent 3a65a77a71
commit 61e426751f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=29128
4 changed files with 8 additions and 4 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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: