In the ebuild I sticked this when the ncurses USE-flag is enabled.  When
it is not (the default) then you only get --disable-slang, meaning you
apparently want curses from wherever that comes.  So what is the desired
behaviour here?  It's not entirely clear what it should be.  I get the
impression you only want to overwrite if you want ncurses.  My nano,
which was built without this USE-flag, does link against libncursesw.
Also when I build with ncurses USE-flag.

Is there curses available on Solaris by default?  Isn't it then a good
idea to add ncurses to the default flags of the solaris profile?  Did
you use the USE-flag when compiling?

On 10-11-2006 14:46:51 +0100, Michael Haubenwallner wrote:
> 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
> 

-- 
Fabian Groffen
Gentoo on a different level
-- 
[EMAIL PROTECTED] mailing list

Reply via email to