Page MenuHomeFreeBSD

Fix ncurses to not add /usr/lib to rpath.
ClosedPublic

Authored by mat on Aug 10 2016, 12:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 8, 12:51 AM
Unknown Object (File)
Mon, Oct 6, 3:00 AM
Unknown Object (File)
Sat, Sep 20, 10:43 AM
Unknown Object (File)
Fri, Sep 19, 2:23 AM
Unknown Object (File)
Thu, Sep 18, 2:46 PM
Unknown Object (File)
Thu, Sep 18, 8:52 AM
Unknown Object (File)
Sep 8 2025, 9:26 PM
Unknown Object (File)
Aug 18 2025, 11:24 PM
Subscribers
None

Details

Summary

There are three cases here:

  1. USES=ncurses or USES=ncurses:base and devel/ncurses is not present: use base, no need to add rpath as there is only one libncurses.so present, in /usr/lib
  2. USES=ncurses and devel/ncurses is present or USES=ncurses:port: use ports, and add rpath to LOCALBASE/lib so that the right one is picked
  3. USES=ncurses:base and devel/ncurses is present fail (it would warrant using -rpath /usr/lib, but it error's out during the sanity stage)

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 4746
Build 4800: arc lint + arc unit

Event Timeline

mat retitled this revision from to Fix ncurses to not add /usr/lib to rpath..
mat updated this object.
mat edited the test plan for this revision. (Show Details)
mat added a reviewer: portmgr.
bapt added a reviewer: bapt.
This revision is now accepted and ready to land.Sep 8 2016, 1:04 PM
This revision was automatically updated to reflect the committed changes.