mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
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
This commit is contained in:
parent
3eb53f7f29
commit
2a58fba415
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue