Page MenuHomeFreeBSD

libpkgconf: Fix paths
ClosedPublic

Authored by des on Sun, Apr 26, 9:27 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 18, 12:35 PM
Unknown Object (File)
Mon, May 18, 12:27 PM
Unknown Object (File)
Thu, May 14, 12:36 PM
Unknown Object (File)
Wed, May 13, 9:25 PM
Unknown Object (File)
Wed, May 13, 5:35 PM
Unknown Object (File)
Mon, May 11, 7:08 AM
Unknown Object (File)
Thu, May 7, 12:45 PM
Unknown Object (File)
Thu, May 7, 11:05 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.