* On 2024-07-31 at 18:13 BST, Thomas Klausner wrote:
Since ecl needs compiler support, the headers and libraries need to be buildlink'ed in, so do that (include its buildlink3.mk file). But since ecl's not needed at runtime (no shared libraries, right?) you can set BUILDLINK_DEPMETHOD.ecl=build in the package including ecl/buildlink3.mk, before including that bl3.mk file.
I would strongly advise that we don't recommend using DEPMETHOD=build unless you are absolutely sure it will only ever be used in a leaf context.
Personally I don't see the point of it at all, any disk usage savings are usually miniscule if any, and it encourages usage in incorrect contexts, but as I posted on the list a while back, it causes significant problems with incorrect indirect dependencies in many cases.
https://mail-index.netbsd.org/tech-pkg/2023/11/24/msg028516.html Cheers, -- Jonathan Perkin - mnx.io - pkgsrc.smartos.org Open Source Complete Cloud www.tritondatacenter.com