HomeFreeBSD

Makefile.inc1: Always use ${PKG_CMD}

Description

Makefile.inc1: Always use ${PKG_CMD}

Previously we had a mix of ${PKG_CMD} and bare 'pkg', which is
wrong, and breaks the build when 'pkg' isn't in the tools path,
e.g. when cross-building.

MFC after: 2 weeks
Reviewed by: wosch, emaste
Sponsored by: https://www.patreon.com/bsdivy
Differential Revision: https://reviews.freebsd.org/D56655

Details

Provenance
ivyAuthored on Apr 27 2026, 9:29 PM
Reviewer
wosch
Differential Revision
D56655: Makefile.inc1: Always use ${PKG_CMD}
Parents
rGd455c4bb69ec: Makefile.inc1: Use ln -n instead of ln -h
Branches
Unknown
Tags
Unknown