From 2a58fba4156bf6c95d594aed77a7bb64e08ff3ba Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Mon, 5 Feb 2024 17:24:51 +0100 Subject: [PATCH] subpackages: fix make flavors-package-names if the ports has flavors and subpackages then the list of names are properly displayed 1 per line, but if the ports as no flavors then it reported everything inline, breaking pkg version and probably other tools Reported by: many --- 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 617844d979f0..448056ca1c17 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -4844,7 +4844,7 @@ pretty-flavors-package-names: .PHONY flavors-package-names: .PHONY . if empty(FLAVORS) - @${ECHO_CMD} "${PKGNAMES}" + @${ECHO_CMD} "${PKGNAMES}" | ${XARGS} -n 1 . else . for f in ${FLAVORS} @cd ${.CURDIR} && ${SETENV} -i FLAVOR=${f} ${MAKE} -B -V PKGNAMES | ${XARGS} -n 1