Summary: | shells/zsh: devel/ncurses detection with poudriere | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Kamigishi Rei <spambox> | ||||
Component: | Individual Port(s) | Assignee: | Baptiste Daroussin <bapt> | ||||
Status: | Closed Overcome By Events | ||||||
Severity: | Affects Only Me | CC: | bapt, bdrewery, miwi, swills | ||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | amd64 | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Kamigishi Rei
2017-02-28 16:51:48 UTC
Adding poduriere maintainer. Is it safe to assume that this will not be resolved? Sorry I missed it. it is working as expected, poudriere is always building in a clean room. This order your specify the packages to build does not matter. The reason why USES=ncurses prefers devel/ncurses from ports if installed is only because it is hard to prevent it when building in place from ports. Why do you want zsh to be linked against the port version of ncurses? (In reply to Baptiste Daroussin from comment #3) Partially because of 256 colours support included starting with 6.0. This might seem like bells and whistles, obviously. However I would like to be able to reproduce the normal "make package" behaviour with poudriere. In my use case zsh is used on multiple machines and in quite a few jails (all using a central package repository) and a lot of users would like to have 256 colours support. Created attachment 196326 [details]
Making zsh link against ncurses from ports; not quite nice because of direct .so version specification
I tried adding a new option; had to specify libncurses.so.6 directly (with the .6) to make it install the port (otherwise it finds the library in /usr/lib). zsh compiles successfully and links against the ncurses port.
This most likely can be done in a better way.
(In reply to Kamigishi Rei from comment #5) Since 13-CURRENT has the newer ncurses now, this option should only be present if building on older versions, IMHO. With 13 importing new ncurses, this can probably be closed. |