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
F140624278: D7459.diff
Fri, Dec 26, 2:33 AM
Unknown Object (File)
Tue, Dec 9, 7:48 AM
Unknown Object (File)
Sat, Nov 29, 3:37 PM
Unknown Object (File)
Nov 22 2025, 11:05 PM
Unknown Object (File)
Nov 8 2025, 6:10 AM
Unknown Object (File)
Nov 8 2025, 6:10 AM
Unknown Object (File)
Nov 8 2025, 6:10 AM
Unknown Object (File)
Nov 8 2025, 3:26 AM
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.