Found it:
We need to configure with "--enable-overwrite".
This can be done unconditionally, because it is enabled when configured
with "--prefix=/usr", and disable otherwise, due to this configure.in
snippet:
### use option --disable-overwrite to leave out the link to -lcurses
AC_MSG_CHECKING(if you wish to install ncurses overwriting curses)
AC_ARG_ENABLE(overwrite,
[ --disable-overwrite leave out the link to -lcurses],
[with_overwrite=$enableval],
[if test "$prefix" = "/usr" ; then with_overwrite=yes; else
with_overwrite=no; fi])
AC_MSG_RESULT($with_overwrite)
/haubi/
On Fri, 2006-11-10 at 10:12 +0100, Fabian Groffen wrote:
> On 10-11-2006 09:58:30 +0100, Michael Haubenwallner wrote:
> > When I create this symlink, nano emerges successfully:
> > <prefix>/usr/include/ncurses.h -> ncurses/ncurses.h
> >
> > Thoughts on how to fix this correctly ?
> >
> > WTH does ncurses-5.5-r3 on native Gentoo Linux install itself
> > as /usr/include/curses.h ?
>
> [aphrodite:portage/app-misc/screen] % equery files ncurses | grep curses.h
> /Library/Gentoo/usr/include/ncurses/curses.h
> /Library/Gentoo/usr/include/ncurses/ncurses.h
> /Library/Gentoo/usr/include/ncursesw/curses.h
> /Library/Gentoo/usr/include/ncursesw/ncurses.h
>
> Interesting. Have to look into the ebuild for that.
>
> --
> Fabian Groffen
> Gentoo on a different level
--
[EMAIL PROTECTED] mailing list