Compiling a port statically
dave at horsfall.org
Sun Dec 6 21:27:17 UTC 2020
On Sun, 6 Dec 2020, Riccardo Mottola via macports-users wrote:
> I can think of two scenarios [ for static binaries ]:
> - building "always safe" binaries which can be used at system level,
> e.g. login shells, tools, things put in launchd. That is things you want
> to always work, even if you are during a MacPorts upgrade. NetBSD offers
> two packages for the same thing, e.g. bash and bash-static, IIRC.
> perhaps in MacPorts it could be a "variant"?
Agreed; FreeBSD has an "/sbin" directory (and "/usr/local/sbin")
containing stuff that absolutely must be available, even in the lack of
absence of shared libraries.
More information about the macports-users