Page MenuHomeFreeBSD

libpkgconf: Fix paths
ClosedPublic

Authored by des on Sun, Apr 26, 9:27 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 30, 6:54 AM
Unknown Object (File)
Thu, Apr 30, 6:44 AM
Unknown Object (File)
Wed, Apr 29, 9:42 AM
Unknown Object (File)
Wed, Apr 29, 9:02 AM
Unknown Object (File)
Tue, Apr 28, 9:36 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.Sun, Apr 26, 9:27 AM
This revision is now accepted and ready to land.Sun, Apr 26, 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.