[Bug 209381] www/lynx fails to find ncurses header

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun May 8 16:18:15 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209381

            Bug ID: 209381
           Summary: www/lynx fails to find ncurses header
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: elferdo at gmail.com
                CC: jharris at widomaker.com
                CC: jharris at widomaker.com
             Flags: maintainer-feedback?(jharris at widomaker.com)

www/lynx 2.8.8.2_3_1 fails to compile because it does not find ncurses headers.
Looking at www/lynx/work/lynx2-8-8/config.log, the last failed check is:


configure:21462: cc -c -O2 -pipe -O2 -fno-strict-aliasing -pipe -march=core2
-fstack-protector   -D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=20011
2L -D_XOPEN_SOURCE=600 -D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=200112L
-D_XOPEN_SOURCE=600 -I/usr/local/include/ncurses/ncursesw -I/usr/local/
include/ncurses conftest.c >&5
In file included from configure:21451:
/usr/local/include/ncurses/curses.h:60:10: fatal error: 'ncurses/ncurses_dll.h'
file not found
#include <ncurses/ncurses_dll.h>
         ^
1 error generated.
configure:21465: $? = 1
configure: failed program was:
#line 21450 "configure"
#include "confdefs.h"
#include <curses.h>
int
main ()
{
initscr(); tgoto("?", 0,0)
  ;
  return 0;
}
configure:21482: result: none
configure:21486: error: No curses header-files found



The test is not including /usr/local/include, so ncurses/ncurses_dll.h is not
looked up properly.


The error can be fixed by addding "localbase" to USES in the makefile (don't
know if this is portable enough, though).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list