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
|
# build time deps
|
||||||
for f in ${host_build_depends} ${build_depends} ${run_depends}; do
|
for f in ${host_build_depends} ${build_depends} ${run_depends}; do
|
||||||
# ignore virtual deps
|
# ignore virtual deps
|
||||||
if [ "${f%\?*}" = "virtual" ]; then
|
local _rpkg="${f%\?*}"
|
||||||
continue
|
local _vpkg="${f#*\?}"
|
||||||
|
|
||||||
|
# ignore virtual dependencies
|
||||||
|
if [ "${_rpkg}" != "${_vpkg}" ]; then
|
||||||
|
f="${_vpkg}"
|
||||||
fi
|
fi
|
||||||
unset found
|
unset found
|
||||||
# check for subpkgs
|
# check for subpkgs
|
||||||
|
|
Loading…
Reference in a new issue