diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2024-02-05 16:24:51 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2024-02-05 16:26:54 +0000 |
commit | 2a58fba4156bf6c95d594aed77a7bb64e08ff3ba (patch) | |
tree | c8db23b92c15aaa05560c3a0f8fc2df8abaebde8 | |
parent | 3eb53f7f2963adee53dc7aa02c6636bb9a804252 (diff) | |
download | ports-2a58fba4156bf6c95d594aed77a7bb64e08ff3ba.tar.gz ports-2a58fba4156bf6c95d594aed77a7bb64e08ff3ba.zip |
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
-rw-r--r-- | Mk/bsd.port.mk | 2 |
1 files changed, 1 insertions, 1 deletions
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 |