Page MenuHomeFreeBSD

libpkgconf: Fix paths
ClosedPublic

Authored by des on Apr 26 2026, 9:27 AM.
Tags
None
Referenced Files
F163278486: D56642.id176576.diff
Tue, Jul 21, 4:32 PM
Unknown Object (File)
Sun, Jul 19, 6:02 PM
Unknown Object (File)
Sun, Jul 19, 6:01 PM
Unknown Object (File)
Sun, Jul 19, 12:02 PM
Unknown Object (File)
Wed, Jul 15, 7:19 AM
Unknown Object (File)
Wed, Jul 15, 7:19 AM
Unknown Object (File)
Mon, Jul 6, 6:38 AM
Unknown Object (File)
Thu, Jun 25, 5:28 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.