Page MenuHomeFreeBSD

Makefile.inc1: Handle pkg development versions
ClosedPublic

Authored by ivy on Sep 21 2025, 6:24 PM.
Tags
None
Referenced Files
F162631077: D52666.diff
Wed, Jul 15, 6:45 AM
F162631076: D52666.diff
Wed, Jul 15, 6:45 AM
Unknown Object (File)
Tue, Jul 14, 6:01 AM
Unknown Object (File)
Sat, Jul 11, 8:35 AM
Unknown Object (File)
Fri, Jul 10, 2:49 PM
Unknown Object (File)
Fri, Jul 3, 7:33 AM
Unknown Object (File)
Fri, Jun 26, 4:45 AM
Unknown Object (File)
Fri, Jun 26, 2:12 AM
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