[MacPorts] #12605: BUG: devel/ncurses does not provide
libcurses and <curses.h>
MacPorts
trac at macosforge.org
Fri Nov 16 21:18:25 PST 2007
#12605: BUG: devel/ncurses does not provide libcurses and <curses.h>
---------------------------------+------------------------------------------
Reporter: master at iaas.msu.ru | Owner: imajes at macports.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.5.0
Resolution: | Keywords:
---------------------------------+------------------------------------------
Comment (by master at iaas.msu.ru):
Dear Ryan,
here is the test port you wanted,
but really in boils down to
a program with
#include <curses.h> /* as per ncurses(3) */
and compiled as
cc -o progname -I/opt/local/include -L/opt/local/lib -lcurses progname.c
uses system header files and libraries.
Comment:
(Although ncurses(3) says one must link with -lncurses,
in personal communication author of ncurses states that
====
> How would the ideal world without workarounds for other workarounds for
> ancient bugs look like?
#include <curses.h>
-lcurses
(but the non-ideal world has different implementations and versions of
curses)
=====
Also "The Single UNIX ® Specification" says -lcurses ;)
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/12605#comment:4>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list