From b4b7cb1c9fce4ce00b28994d71ba0e6cf2dc775c Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Wed, 4 Sep 2019 12:01:19 +0000 Subject: [PATCH] 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 --- Mk/bsd.port.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index fb88ab5614d4..a7ce3daaa0ae 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -3670,7 +3670,7 @@ checkpatch: .if !target(reinstall) reinstall: @${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 .if !target(restage)