# in a non-standard path. Without that, the resulting GHC tries to
# link programs by executing ld(1) without passing it -L${PREFIX}/lib.
${RUN} ${ECHO} "libraries/terminfo_CONFIGURE_OPTS += \
- --configure-option=--with-curses-includes=${PREFIX}/include/ncurses \
+ --configure-option=--with-curses-includes=${PREFIX}/include \
--configure-option=--with-curses-libraries=${PREFIX}/lib" >> ${WRKSRC}/mk/build.mk
# The ghc compiler does normally split the generated asm files into small
# parts before sending them to gcc, to enable the linker to eliminate
INTEGER_LIBRARY = integer-simple
libraries/terminfo_CONFIGURE_OPTS += \
- --configure-option=--with-curses-includes=/usr/pkg/include/ncurses \
+ --configure-option=--with-curses-includes=/usr/pkg/include \
--configure-option=--with-curses-libraries=/usr/pkg/lib
Copy some configuration files from the ``-target`` tree::