Bug 77836 - app-emulation/vice uses "use_with" instead of "use_enable" for the gnomeui switch
Bug#: 77836 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: gentoo-bugs@theblob.org
Component: Applications
URL: 
Summary: app-emulation/vice uses "use_with" instead of "use_enable" for the gnomeui switch
Keywords:  
Status Whiteboard: 
Opened: 2005-01-13 07:28 0000
Description:   Opened: 2005-01-13 07:28 0000
In the ebuild for app-emulation/vice-1.14-r1 (possibly others too), it
incorrectly uses use_with instead of use_enable when compiling GNOME support
in, resulting in GNOME support being disabled (the switch that configure
expects is --enable-gnomeui, not --with-gnomeui).

Unfortunately, fixing this problem on my system also causes VICE to segfault
when run, but that's the subject for another bug, as it is unrelated to this
one.

I have a patch ready; I will upload it after I submit this bug.

Reproducible: Always
Steps to Reproduce:
1. Make sure "gnome" is in your USE flags.
2. Emerge vice.

Actual Results:  
VICE was compiled without GNOME support, because of the incorrect switch passed
to configure.

Expected Results:  
VICE should have been compiled with GNOME support.

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4,
glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r9 i686)
=================================================================
System uname: 2.6.9-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 1400MHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/
http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acl alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dvd encode
esd fam flac foomaticdb fortran gd gdbm gif gnome gphoto2 gpm gstreamer gtk
gtk2
imagemagick imlib ipv6 java jpeg kde libwww mad mikmod mmx motif mpeg
multitarget mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python
qt
quicktime readline sdl spell sse ssl svga tcpd tiff truetype xml2 xmms xv zlib"

------- Comment #1 From Sophie Hamilton 2005-01-13 07:29:47 0000 -------
Created an attachment (id=48394) [details]
Patch to correct vice-1.14-r1 ebuild to properly implement gnomeui switch

------- Comment #2 From Chris Gianelloni (RETIRED) 2005-01-22 16:05:52 0000 -------
Fixed in CVS... thanks for the bug report!