On 10-11-2006 15:42:17 +0100, Michael Haubenwallner wrote: > On Fri, 2006-11-10 at 15:02 +0100, Fabian Groffen wrote: > > 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. > > Huh, did not consider the use flags. > > It makes some sense to "--enable-overwrite" with enabled use-flag > 'ncurses' only. > > > > > 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? > > curses is installed here, but I'm not the admin of this machine. > IMO it _is_ installed by default.
Same for me. > What is the difference between "--enable-overwrite" and adding it to the > default flags (you mean CPPFLAGS in profile.bashrc ?) ? Nope. We can set default USE-flags in the profiles, such that ncurses would get enabled on Solaris, because it needs it. > Hmm, I neither had 'ncurses' nor 'slang' use-flag set, but nano links > against ncurses if configure-check for "-lncurses" works. > Maybe nano is broken here ? > I have seen other packages checking for "ncurses/ncurses.h", nano does > not do this. > Why do we need nano on solaris at all ? LOL. It's in the base profile. I think it's useless myself, but alas, to keep things simple on the overhead... > OTOH: Bash unconditionally depends on ncurses, so we always have it > installed. Why not enable 'ncurses' useflag in solaris profile ? That's what I suggested :) > I expect much less problems with "--enable-overwrite" and 'ncurses' > useflag enabled - like that one in nano. It's already committed and keyworded ~x86-solaris like that. So I guess we agree on adding ncurses to the profile too. -- Fabian Groffen Gentoo on a different level -- [EMAIL PROTECTED] mailing list
