mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Fix the reinstall target to make it follow a proper sequence
first deinstall then reinstall. For now keep the DEPENDS_TARGET, which should probably die, but let study that in a second step PR: 224244 Submitted by: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
This commit is contained in:
parent
2d82352c0f
commit
b4b7cb1c9f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=511086
1 changed files with 1 additions and 1 deletions
|
@ -3670,7 +3670,7 @@ checkpatch:
|
||||||
.if !target(reinstall)
|
.if !target(reinstall)
|
||||||
reinstall:
|
reinstall:
|
||||||
@${RM} ${INSTALL_COOKIE} ${PACKAGE_COOKIE}
|
@${RM} ${INSTALL_COOKIE} ${PACKAGE_COOKIE}
|
||||||
@cd ${.CURDIR} && DEPENDS_TARGET="${DEPENDS_TARGET}" ${MAKE} -DFORCE_PKG_REGISTER install
|
@cd ${.CURDIR} && DEPENDS_TARGET="${DEPENDS_TARGET}" ${MAKE} deinstall install
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !target(restage)
|
.if !target(restage)
|
||||||
|
|
Loading…
Add table
Reference in a new issue