1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

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
This commit is contained in:
Baptiste Daroussin 2019-09-05 09:07:49 +00:00
parent 3d38f93a9d
commit 56f344f8c9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=511161

View File

@ -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