svn commit: r511086 - head/Mk

Baptiste Daroussin bapt at FreeBSD.org
Wed Sep 4 12:01:20 UTC 2019


Author: bapt
Date: Wed Sep  4 12:01:19 2019
New Revision: 511086
URL: https://svnweb.freebsd.org/changeset/ports/511086

Log:
  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 at utanet.at>

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Wed Sep  4 11:24:08 2019	(r511085)
+++ head/Mk/bsd.port.mk	Wed Sep  4 12:01:19 2019	(r511086)
@@ -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)


More information about the svn-ports-all mailing list