Page MenuHomeFreeBSD

libpkgconf: Fix paths
ClosedPublic

Authored by des on Apr 26 2026, 9:27 AM.
Tags
None
Referenced Files
F166654107: D56642.id176555.diff
Sat, Aug 15, 6:15 AM
Unknown Object (File)
Thu, Aug 13, 1:07 AM
Unknown Object (File)
Tue, Aug 11, 8:21 PM
Unknown Object (File)
Tue, Aug 11, 7:52 PM
Unknown Object (File)
Mon, Aug 10, 10:44 AM
Unknown Object (File)
Mon, Aug 10, 7:10 AM
Unknown Object (File)
Sun, Aug 9, 5:28 PM
Unknown Object (File)
Sun, Aug 9, 4:34 AM
Subscribers

Details

Summary

${LOCALBASE:U} evaluates to exactly the same thing as ${LOCALBASE}.
Presumably what was meant was ${LOCALBASE:U/usr/local}.

Fixes: b8352da33f34 ("pkgconf: import into the base system")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

des requested review of this revision.Apr 26 2026, 9:27 AM
This revision is now accepted and ready to land.Apr 26 2026, 10:44 AM
This revision was automatically updated to reflect the committed changes.
ngie added inline comments.
lib/libpkgconf/Makefile
16

Why not just do this instead?

LOCALBASE?= /usr/local

instead of all of the :U/usr/local gymnastics?

It avoids duplicate lines with LOCALBASE defaulting to /usr/local and reduces the potential for typos creeping in.

lib/libpkgconf/Makefile
16

This is the predominant idiom for existing uses of ${LOCALBASE} in the tree.