Some ports need to link with libtls as provided by LibreSSL. The
current approach in the ports tree is to statically link ports
against it.
Some ports invent their own method to do this. Sometimes this
introduces new problems on LibreSSL updates c.f. PR 228438. I
think it would be good to provide something in the framework
to do this.