| Summary: | Mk/Uses/cargo.mk: onig_sys missing libclang.so build dependency | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Santhosh Raju <fox> | ||||
| Component: | Ports Framework | Assignee: | Luca Pizzamiglio <pizzamig> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | CC: | ports-bugs | ||||
| Priority: | --- | Keywords: | needs-patch | ||||
| Version: | Latest | Flags: | tobik:
maintainer-feedback+
|
||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| URL: | https://github.com/rust-onig/rust-onig/issues/109 | ||||||
| Bug Depends on: | 240304 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Santhosh Raju
2019-09-21 07:31:33 UTC
No, this is wrong. If anything you need to add an entry for the bindgen crate which is what onig_sys now uses and is what depends on libclang. And make it a BUILD_DEPENDS only. It is not required at runtime. See textproc/sonic, editors/parinfer-rust for the BUILD_DEPENDS line. It would be good to remove it from them (and probably others) too if this now lives in cargo.mk. Actually looking deeper into it I am kind of hesitant on adding this to cargo.mk. The bindgen crate is often pulled in as a dependency but not actually used (see games/genact, x11/alacritty) during a normal build, so adding this will add a bunch of useless dependencies to ports. LLVM is kind of too large for this IMHO. It might be better to leave it up to the individual ports to add it when they actually need it. Thank you for the insight. I shall discuss this with the maintainer of textproc/bat For now leaving this ticket open, but will close it once I hear back from the textproc/bat maintainer. Closing this ticket as the change will be integrated into textproc/bat. Thank you for the help. ^Triage: - Depend on the issue that resolved this report - Assign to committer that resolved (via bug 240304) |