i'm using portage-2.0.51-pre23 and i've noticed that --newuse doesn't work well. here's an example: <root@CogES>~: cat /var/db/pkg/x11-libs/wxGTK-2.4.2-r3/IUSE debug no_wxgtk1 gtk2 odbc opengl unicode <root@CogES>~: cat /var/db/pkg/x11-libs/wxGTK-2.4.2-r3/USE 3dnow X aalib alsa apache2 arts avi crypt cups dvd encode esd fbcon flash gif glut gphoto2 gpm gtk gtk2 imlib imlib2 java javascript jikes jpeg lcms libwww maildir mailwrapper mbox memlimit mikmod mmx motif moznocompose moznoirc moznomail mpeg mysql ncurses nls nocardbus nptl nvidia oggvorbis opengl oss pam pda pdflib perl png ppds python quicktime readline samba sasl sdl serial slang spell sse ssl tcltk tcpd tiff truetype v4l v4l2 videos vim-with-x wmf x86 xv xvid zlib here we can see, that wxGTK makes use from gtk2 flag, which was turned on during instalation. now i've turned it off: <root@CogES>~: emerge -pv wxGTK These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] x11-libs/wxGTK-2.4.2-r3 -debug -gtk2* -no_wxgtk1 -odbc +opengl -unicode 0 kB here portage 'see' that this flag was changed. (BTW: i like this idea with '*' next to changed flag;>) now let's try: <root@CogES>~: emerge --newuse -pD world |grep wxGTK <root@CogES>~: ups - nothing here;/ at the end: wxGTK *exists* in my dependencies's tree: <root@CogES>~: emerge -peD world |grep wxGTK [ebuild N ] x11-libs/wxGTK-2.4.2-r3
Requires a -u otherwise -D isn't useful.