On 21/02/2025 2:19 am, Magnus Ihse Bursie wrote:
On 2025-02-14 05:37, David Holmes wrote:
The number of makefile changes needed was surprising ... make me
wonder what macOS was doing in some places.
Actually, to me it is the other way around. :) If we have good portable
source code, there would not have to be many changes to the actual code
base to support BSD.
Well we do have (pretty) good portable source code, but we also have OS
specific layers that have to be adapted. As others have noted FreeBSD
seems to have more in common with Linux than macOS in many places and
that will cause quite a problem in terms of trying to share code.
Cheers,
David
The only changes that would be required would be
allowing the build system to build on BSD. Thus I'm expecting the
majority of the changes to be build related. Then again, maybe some of
these changes are due to lack of generalization in the build system, but
from the cursory glance I've given the PR so far, it does not look like it.
/Magnus