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
F106948024: D7459.diff
Tue, Jan 7, 10:12 PM
Unknown Object (File)
Mon, Dec 23, 11:35 PM
Unknown Object (File)
Dec 8 2024, 7:58 AM
Unknown Object (File)
Nov 17 2024, 2:10 AM
Unknown Object (File)
Oct 27 2024, 8:01 AM
Unknown Object (File)
Oct 18 2024, 2:52 PM
Unknown Object (File)
Oct 15 2024, 4:24 AM
Unknown Object (File)
Oct 2 2024, 12:08 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.