On Sat, May 11, 2019 at 03:54:01PM -0400, Jeremie Courreges-Anglas wrote: > On Sat, May 11 2019, Sebastien Marie <[email protected]> wrote: > > > > c++ is added due to COMPILER=ports-clang usage. It automatically adds > > MODULES += lang/clang. > > > > So I think we don't bother. > > Hmm, should this port use COMPILER? Or BUILD/RUN_DEPENDS = lang/llvm? > Or LIB_DEPENDS + add clang in WANTLIB, so that pijul gets updated > whenever libclang.so is bumped (happens infrequently, but still). >
I hesitated a bit about it. libclang.so is used by bindgen crate. it is used only at build time to generate a rust interface for libnettle (read C file and generate rust file with rights function/type for directly call the library), and nettle is in WANTLIB. an explicit BUILD_DEPENDS+=devel/llvm could be added. but as COMPILER=ports-clang adds MODULES+=lang/clang, and its adds BUILD_DEPENDS+=devel/llvm in the port... -- Sebastien Marie
