svn commit: r511161 - head/Mk

Baptiste Daroussin bapt at FreeBSD.org
Thu Sep 5 09:07:50 UTC 2019


Author: bapt
Date: Thu Sep  5 09:07:49 2019
New Revision: 511161
URL: https://svnweb.freebsd.org/changeset/ports/511161

Log:
  Fix make deinstall-depends with pkg.
  
  drop pkg itself from the list of deinstall-depends in order
  to keep pkg around to be able to deinstall more ports.
  
  PR:		204296
  Reported by:	ian

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Thu Sep  5 09:05:05 2019	(r511160)
+++ head/Mk/bsd.port.mk	Thu Sep  5 09:07:49 2019	(r511161)
@@ -4046,6 +4046,7 @@ DEPENDS-LIST= \
 
 ALL-DEPENDS-LIST=			${DEPENDS-LIST} -r ${_UNIFIED_DEPENDS:Q}
 ALL-DEPENDS-FLAVORS-LIST=	${DEPENDS-LIST} -f -r ${_UNIFIED_DEPENDS:Q}
+DEINSTALL-DEPENDS-FLAVORS-LIST=	${DEPENDS-LIST} -f -r ${_UNIFIED_DEPENDS:N${PKG_DEPENDS}:Q}
 MISSING-DEPENDS-LIST=		${DEPENDS-LIST} -m ${_UNIFIED_DEPENDS:Q}
 BUILD-DEPENDS-LIST=			${DEPENDS-LIST} "${PKG_DEPENDS} ${EXTRACT_DEPENDS} ${PATCH_DEPENDS} ${FETCH_DEPENDS} ${BUILD_DEPENDS} ${LIB_DEPENDS}"
 RUN-DEPENDS-LIST=			${DEPENDS-LIST} "${LIB_DEPENDS} ${RUN_DEPENDS}"
@@ -4070,7 +4071,7 @@ limited-clean-depends:
 .if !target(deinstall-depends)
 deinstall-depends:
 	@recursive_cmd="deinstall"; \
-	    recursive_dirs="$$(${ALL-DEPENDS-FLAVORS-LIST})"; \
+		recursive_dirs="$$(${DEINSTALL-DEPENDS-FLAVORS-LIST})"; \
 		${_FLAVOR_RECURSIVE_SH}
 .endif
 


More information about the svn-ports-all mailing list