Page MenuHomeFreeBSD

Makefile.inc1: Handle pkg development versions
ClosedPublic

Authored by ivy on Sep 21 2025, 6:24 PM.
Tags
None
Referenced Files
F151241758: D52666.diff
Tue, Apr 7, 1:51 AM
F151161766: D52666.id162543.diff
Mon, Apr 6, 12:44 PM
Unknown Object (File)
Sat, Apr 4, 1:33 PM
Unknown Object (File)
Sat, Apr 4, 1:29 PM
Unknown Object (File)
Thu, Apr 2, 1:41 PM
Unknown Object (File)
Sun, Mar 29, 12:37 PM
Unknown Object (File)
Tue, Mar 24, 7:26 PM
Unknown Object (File)
Wed, Mar 18, 4:48 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 67229
Build 64112: arc lint + arc unit