In particular, to give advice on referencing man pages that are provided
by ports. The linked pages may not be present after a fresh install, so
it is useful to give the name of the port which provides it.
Codify the existing precedent for this.
Differential D50330
style.mdoc: add subsection for cross-references mhorne on May 13 2025, 2:33 PM. Authored by Tags None Referenced Files
Details
Diff Detail
Event TimelineComment Actions I really like this notation because it's so clear, but we should discuss this with @bapt, he said pkg categories are not stable and we shouldn't do this. *Sigh* Phabricator on mobile cannot deselect accept revision once fat fingered, even after allegedly switching to the desktop site -.-
Comment Actions origin is not a good way to reference a package, I know people are used to it, because at somepoint it was the only to get a unique name which reference a package, but it is not the case anymore, with flavors or even with subpackages. Another issue pkg can actually come from 2 different path: ports-mgmt/pkg and ports-mgmt/pkg-devel. Comment Actions So what do you suggest instead, a specific package name? As noted this is a reaction to a preexisting pattern in the src tree. Whatever style policy we define here should be forward-thinking, of course, but let us also be clear of the current reality.
The specific example cited here can be changed to some other common/well-known program e.g. gcc(1).
Comment Actions I think we should just specify the package name and nothing more. so a user can do pkg search pkgname |