xbps-src/show: resolve virtual dependencies correctly.
This commit is contained in:
parent
d2bac19750
commit
326c989c7c
1 changed files with 6 additions and 2 deletions
|
@ -63,8 +63,12 @@ show_pkg_build_deps() {
|
|||
# build time deps
|
||||
for f in ${host_build_depends} ${build_depends} ${run_depends}; do
|
||||
# ignore virtual deps
|
||||
if [ "${f%\?*}" = "virtual" ]; then
|
||||
continue
|
||||
local _rpkg="${f%\?*}"
|
||||
local _vpkg="${f#*\?}"
|
||||
|
||||
# ignore virtual dependencies
|
||||
if [ "${_rpkg}" != "${_vpkg}" ]; then
|
||||
f="${_vpkg}"
|
||||
fi
|
||||
unset found
|
||||
# check for subpkgs
|
||||
|
|
Loading…
Reference in a new issue