Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Sep 2019 12:01:20 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r511086 - head/Mk
Message-ID:  <201909041201.x84C1K2N053744@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909041201.x84C1K2N053744>