Hi, Here's the promised patch. What it does: - Switch again to using BSD ar(1) by default, but provide a knob to use GNU ar(1) as the system ar(1). (Option WITH_BSDAR is replaced with option WITH_GNUAR.) - Install BSD ar(1) as bsdar(1) with the necessary links: bsdranlib(1), ar(1), and ranlib(1) (the latter two unless we build WITH_GNUAR). - ar.1 moved to bsdar.1 along with some bugfixing. - Don't proceed with bsdar(1) if option WITHOUT_TOOLCHAIN is set. - Handle upgrades nicely: use GNU ar(1) during the build on older systems, and use BSD ar(1) on newer systems. For now, always bootstrap BSD ar(1) on newer systems during the build (in case some bugs pop up), but after some period of testing, we can stop unconditionally bootstrapping it. Please review. Cheers, -- Ruslan Ermilov ru_at_FreeBSD.org FreeBSD committer
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:27 UTC