Bug 164857 - app-editors/emacs-cvs-22.0.93-r1 doesn't use gtk despite use flag
Bug#: 164857 Product:  Gentoo Linux Version: 2006.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: emacs@gentoo.org Reported By: langec@web.de
Component: Ebuilds
URL: 
Summary: app-editors/emacs-cvs-22.0.93-r1 doesn't use gtk despite use flag
Keywords:  
Status Whiteboard: 
Opened: 2007-02-01 15:18 0000
Description:   Opened: 2007-02-01 15:18 0000
When I compiled app-editors/emacs-cvs-22.0.93-r1 with the use flags

+X -Xaw3d +alsa -aqua +gif +gnome +gtk -gzip-el +jpeg -lesstif -motif +nls +png
-source +spell -tiff +toolkit-scroll-bars

... its "configure" script decided to build it with the "LUCID" GUI toolkit 
instead of GTK. Commenting the following line in the ebuild solved the problem

        if use gtk; then
            einfo "Configuring to build with GTK support"
            myconf="${myconf} --with-x-toolkit=gtk"
            # myconf="${myconf} --with-x-toolkit=athena"

------- Comment #1 From Christian Faulhammer 2007-02-01 17:20:59 0000 -------
Not uncommenting but moving that option to the next conditional solves the
problem.  Thanks for pointing out.

------- Comment #2 From Christian Faulhammer 2007-02-02 10:59:09 0000 -------
*** Bug 164962 has been marked as a duplicate of this bug. ***