Date: Tue, 13 Sep 2011 13:47:05 +0900 (JST) From: Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/160695: devel/ncurses libncurses.a doesn't contain libtinfo.a Message-ID: <201109130447.p8D4l539016303@elvenbow.cc.kyushu-u.ac.jp> Resent-Message-ID: <201109130450.p8D4o9qr087547@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 13 04:50:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Yoshiaki Kasahara >Release: FreeBSD 8.2-STABLE amd64 >Organization: Kyushu University >Environment: 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@elvenbow.cc.kyushu-u.ac.jp:/usr/obj/usr/src/sys/ELVENBOW amd64 >Description: 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. >How-To-Repeat: 1. Install devel/ncurses 2. Build editor/emacs-devel >Fix: For compatibility with base ncurses, --with-termlib should be removed from configure option (I'm not sure about other effects by doing that...). >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109130447.p8D4l539016303>