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)
Sun, May 5, 9:40 AM
Unknown Object (File)
Sun, Apr 21, 5:11 PM
Unknown Object (File)
Apr 5 2024, 8:00 PM
Unknown Object (File)
Mar 11 2024, 6:46 AM
Unknown Object (File)
Mar 9 2024, 11:15 PM
Unknown Object (File)
Feb 10 2024, 5:29 PM
Unknown Object (File)
Feb 5 2024, 3:48 PM
Unknown Object (File)
Jan 19 2024, 3:00 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.