Page MenuHomeFreeBSD

libpkgconf: Fix paths
ClosedPublic

Authored by des on Apr 26 2026, 9:27 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 25, 5:28 AM
Unknown Object (File)
Wed, Jun 24, 7:59 PM
Unknown Object (File)
Tue, Jun 23, 1:44 PM
Unknown Object (File)
Wed, Jun 10, 12:53 PM
Unknown Object (File)
Jun 4 2026, 4:07 PM
Unknown Object (File)
Jun 4 2026, 4:07 PM
Unknown Object (File)
Jun 4 2026, 8:25 AM
Unknown Object (File)
May 25 2026, 10:05 PM
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.