Page MenuHomeFreeBSD

Makefile.inc1: Handle pkg development versions
ClosedPublic

Authored by ivy on Sep 21 2025, 6:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 2, 8:45 PM
Unknown Object (File)
Tue, Oct 28, 8:42 PM
Unknown Object (File)
Wed, Oct 22, 11:35 PM
Unknown Object (File)
Oct 11 2025, 5:20 AM
Unknown Object (File)
Oct 11 2025, 5:19 AM
Unknown Object (File)
Oct 11 2025, 5:19 AM
Unknown Object (File)
Oct 10 2025, 10:07 PM
Unknown Object (File)
Oct 9 2025, 8:57 PM
Subscribers

Details

Summary

Development versions of pkg have a version like "2.3.0-d8bbde1c3-dirty",
which is not handled by PKG_BIN_VERSION, so PKG_EXT ends up being "tar"
and this breaks update-packages.

Fix the PKG_BIN_VERSION logic, and while here, remove backwards compat
for pkg versions prior to 2.0, which no one should be using to build
main or stable/15. This means nothing is left to use PKG_BIN_VERSION,
but continue to set it, since we might need it again in the future.

MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable