diff options
author | Bryan Drewery <bryan@shatow.net> | 2022-11-07 22:36:08 +0300 |
---|---|---|
committer | Bryan Drewery <bryan@shatow.net> | 2022-11-07 22:36:08 +0300 |
commit | f5a009c9399a4a398bd8a345bfdb13db60d4e43e (patch) | |
tree | f2153ab01b1d6071f5482a9fe4af90a7f4c505a4 | |
parent | f380372ceac9876325e14db86a2ed0ab63c10c4b (diff) |
compute_deps_pkg: Don't show empty FLAVOR suggestion
-rwxr-xr-x | src/share/poudriere/common.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/share/poudriere/common.sh b/src/share/poudriere/common.sh index 6b4e1752..1234a489 100755 --- a/src/share/poudriere/common.sh +++ b/src/share/poudriere/common.sh @@ -7116,9 +7116,9 @@ compute_deps_pkg() { originspec_decode "${dep_originspec}" dep_origin \ dep_flavor if [ ${ALL} -eq 0 ]; then - msg_error "compute_deps_pkg failed to lookup pkgname for ${COLOR_PORT}${dep_originspec}${COLOR_RESET} processing package ${COLOR_PORT}${pkgname}${COLOR_RESET} from ${COLOR_PORT}${originspec}${COLOR_RESET} -- Does ${COLOR_PORT}${dep_origin}${COLOR_RESET} provide the '${dep_flavor}' FLAVOR?" + msg_error "compute_deps_pkg failed to lookup pkgname for ${COLOR_PORT}${dep_originspec}${COLOR_RESET} processing package ${COLOR_PORT}${pkgname}${COLOR_RESET} from ${COLOR_PORT}${originspec}${COLOR_RESET}${dep_flavor:+ -- Does ${COLOR_PORT}${dep_origin}${COLOR_RESET} provide the '${dep_flavor}' FLAVOR?}" else - msg_error "compute_deps_pkg failed to lookup pkgname for ${COLOR_PORT}${dep_originspec}${COLOR_RESET} processing package ${COLOR_PORT}${pkgname}${COLOR_RESET} from ${COLOR_PORT}${originspec}${COLOR_RESET} -- Is SUBDIR+=${COLOR_PORT}${dep_origin#*/}${COLOR_RESET} missing in ${COLOR_PORT}${dep_origin%/*}${COLOR_RESET}/Makefile and does the port provide the '${dep_flavor}' FLAVOR?" + msg_error "compute_deps_pkg failed to lookup pkgname for ${COLOR_PORT}${dep_originspec}${COLOR_RESET} processing package ${COLOR_PORT}${pkgname}${COLOR_RESET} from ${COLOR_PORT}${originspec}${COLOR_RESET} -- Is SUBDIR+=${COLOR_PORT}${dep_origin#*/}${COLOR_RESET} missing in ${COLOR_PORT}${dep_origin%/*}${COLOR_RESET}/Makefile?${dep_flavor:+ And does the port provide the '${dep_flavor}' FLAVOR?}" fi set_dep_fatal_error continue |