ports/160695: devel/ncurses libncurses.a doesn't contain libtinfo.a

Yoshiaki Kasahara kasahara at nc.kyushu-u.ac.jp
Tue Sep 13 04:50:10 UTC 2011

>Number:         160695
>Category:       ports
>Synopsis:       devel/ncurses libncurses.a doesn't contain libtinfo.a
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 13 04:50:09 UTC 2011
>Originator:     Yoshiaki Kasahara
>Release:        FreeBSD 8.2-STABLE amd64
Kyushu University
System: FreeBSD elvenbow.cc.kyushu-u.ac.jp 8.2-STABLE FreeBSD 8.2-STABLE #0 r224703: Mon Aug 8 16:18:25 JST 2011 root at elvenbow.cc.kyushu-u.ac.jp:/usr/obj/usr/src/sys/ELVENBOW amd64


libncurses.a of the base system contains objects from libtinfo.a
(actually libtinfo.a is a symbolic link to libncurses.a), but 
libncurses.a from devel/ncurses doesn't contain these objects.
So, to link ncurses, I need to explicitly add -ltinfo in addition 
to -lncurses.

For example, editors/emacs-devel won't build when devel/ncurses is
installed because it doesn't check if -ltinfo is needed.
Maybe there are other ports like this.  Such incompatibility between
base vs port ncurses is not convenient.


1. Install devel/ncurses
2. Build editor/emacs-devel


For compatibility with base ncurses, --with-termlib should be removed
from configure option (I'm not sure about other effects by doing that...).


More information about the freebsd-ports-bugs mailing list