| git.druid.rocks | index | druid520 | mp | docs/ | reference/ | commands/ | providers.btft |
docs/reference/commands/providers.btft
[table class="topnav"]
[tr]
[td class="logotab"]mp[e]
[td][see name="index"]index[e][e]
[td][see name="guide/index"]guide[e][e]
[td][see name="reference/index"]reference[e][e]
[e]
[e]
[h1]mp providers[e]
[h2]synopsis[e]
[code]
mp providers <%tag|tag>
[e]
[h2]description[e]
lists every port declaring the given [code]%tag[e] (the leading [code]%[e] is optional on the command line), ranked by [code]pkg_pref[e] (lower wins), each marked [code]installed[e] and/or [code]lowest-pref[e] as applicable. if [code]TARGET_<tag>=[e] or [code]TAG_<tag>=[e] pins the tag to a specific port (checked in that precedence order, matching real resolution), the pinned port prints first, marked [code]pinned[e].
[code]lowest-pref[e] here means exactly that -- the single lowest-[code]pkg_pref[e] candidate -- NOT a full simulation of real resolution, which also backtracks past a candidate that would conflict with something already installed to the next one. the actual provider a real install picks can differ from what's marked lowest-pref here, when the top candidate would conflict.
fails outright if nothing declares the tag at all and no pin exists either.
[h2]examples[e]
[code]
mp providers %libc
musl 10 pinned
glibc 20 installed
uclibc 30
[e]
[h2]see also[e]
[see name="reference/slots"]reference/slots[e] (the %tag resolution/backtracking mechanism itself), [see name="reference/commands/tree"]tree[e], [see name="reference/commands/info"]info[e].