maintainer-feedback requested: [Bug 225834] [PATCH] lang/ghc: fails to build with ncurses from ports
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Feb 11 21:25:06 UTC 2018
Pawel Pekala <pawel at FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to
haskell at FreeBSD.org:
Bug 225834: [PATCH] lang/ghc: fails to build with ncurses from ports
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225834
--- Description ---
Created attachment 190521
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=190521&action=edit
ports ncurses build fix
After switch to clang for build, ghc fails to build with ncurses from ports:
configure: error: in
`/usr/local/ports/lang/ghc/work/ghc-8.0.2/libraries/terminfo':
configure: error: curses headers could not be found, so this package cannot be
built
See `config.log' for more details
NCURSESINC points to NCURSESBASE/include/ncurses while ncurses.h includes files
with path relative to include directory:
In file included from conftest.c:52:
/usr/local/include/ncurses/ncurses.h:60:10: fatal error:
'ncurses/ncurses_dll.h' file not found
#include <ncurses/ncurses_dll.h>
^~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Proposed patch fixes build by altering NCURSESINC. Was tested with ncurses from
base and ports on all supported releases.
More information about the freebsd-haskell
mailing list