Bug 101528

Summary: devel/pdcurses needs library link so editors/the --with-xcurses can find it
Product: Ports & Packages Reporter: User1001 <supraexpress>
Component: Individual Port(s)Assignee: Alejandro Pulver <alepulver>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
file.diff none

Description User1001 2006-08-06 22:10:13 UTC

By including a link from /usr/local/lib/libXCurses.so to /usr/local/lib/libXCurses.so.8, the THE-3.2 build "--with-xcurses" can now find the devel/pdcurses shared library and properly build. Without this link, the devel/pdcurses shared library is NOT found.

Comment: My pkg-plist change may or may not be sufficient, or correct.

Fix: + post-install:
+       @${LN} -sf ${PREFIX}/lib/libXCurses.so ${PREFIX}/lib/libXCurses.so.8
+
  .include <bsd.port.post.mk>
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-08-06 22:10:29 UTC
Responsible Changed
From-To: freebsd-ports-bugs->alepulver

Over to maintainer
Comment 2 Alejandro Pulver freebsd_committer freebsd_triage 2006-08-07 04:24:44 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 3 User1001 2006-08-09 07:34:40 UTC
Please change the versioning number on libXCurses.so from "8" to "2":

change Makefile, post-install

@${LN} -sf ${PREFIX}/lib/libXCurses.so ${PREFIX}/lib/libXCurses.so.8

to

@${LN} -sf ${PREFIX}/lib/libXCurses.so ${PREFIX}/lib/libXCurses.so.2

and change pkg-plist

lib/libXCurses.so.8

to

lib/libXCurses.so.2

Thank you.