if the app-editors/emacs ebuild is compiled against the openmotif library and then rebuild against the lesstif library, the the app-editors/emacs still be compiled against the openmotif. For compiling against the lesstif library, the x11-libs/openmotif had to be unmerged first. Reproducible: Always Steps to Reproduce: 1.USE="-lesstif" emerge emacs 2.USE="lesstif" emerge emacs 3. Actual Results: ldd /usr/bin/emacs ... libXm.so.3 => /usr/lib/libXm.so.3 (0xb7caa000) ... Expected Results: ldd /usr/bin/emacs ... libXm.so.2 => /usr/X11R6/lib/lesstif/libXm.so.2 (0xb7dfd000) ... Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.13-gentoo-r5 i686) ================================================================= System uname: 2.6.13-gentoo-r5 i686 AMD Athlon(tm) XP 1600+ Gentoo Base System version 1.6.13 ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/jetty/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo/ http://gentoo.mirror.solnet.ch http://mirror.switch.ch/mirror/gentoo/ http://gentoo.ynet.sk/pub http://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 crypt cups curl eds emboss encode esd exif expat fam foomaticdb fortran gdbm gif glut gnome gnutls gpm gstreamer gtk gtk2 idn imagemagick imlib innodb ipv6 java jpeg junit kde lcms libg++ libwww mad mhash mikmod mmx mng motif mozilla mp3 mpeg mysql ncurses nls nptl nvidia ogg oggvorbis openal opengl oss pam pcre pdflib perl png python qt quicktime readline sdl slang spell sse ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
this will change with motif-config, it is in ~x86, nothing we can do at the moment
close