Bug 22638 - libsdl ebuilds don't handle X and xv USE flags properly
Bug#: 22638 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: mholzer@gentoo.org Reported By: nospam@dolney.com
Component: Ebuilds
URL: 
Summary: libsdl ebuilds don't handle X and xv USE flags properly
Keywords:  
Status Whiteboard: 
Opened: 2003-06-11 14:27 0000
Description:   Opened: 2003-06-11 14:27 0000
All current libsdl ebuilds are not USEing X and xv properly. This is because
they look like this:

    local myconf
                                                                                
    use X \
        && myconf="${myconf} --enable-video-x11" \
        || myconf="${myconf} --disable-video-x11"
                                                                                
    use xv \
        && myconf="${myconf} --enable-video-x11-xv" \
        || myconf="${myconf} --disable-video-x11-xv"
                                                                                
    use esd \
        && myconf="--enable-esd" \
        || myconf="--disable-esd"

The last block for esd resets myconf, so you lose the information from X and xv.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) Processor
GENTOO_MIRRORS="http://csociety-ftp.ecn.purdue.edu/pub/gentoo/
ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
ftp://gentoo.mirrors.pair.com/ http://gentoo.mirrors.pair.com/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="oss directfb slang aalib nas guile perl python -arts -avi -berkdb -cups
-encode -esd -imlib -kde -libg++ -libwww -mikmod -motif -nls -pam -qt -sdl -svga
-tcpd x86 3dnow alsa apm bonobo crypt gdbm gif gnome gpm gtk gtk2 java jpeg
maildir mmx mozilla mpeg ncurses oggvorbis opengl pdflib png quicktime readline
spell ssl tcltk tetex truetype usb X xml2 xmms xv zlib"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O3 -fomit-frame-pointer -pipe"
CXXFLAGS="-march=athlon-tbird -O3 -fomit-frame-pointer -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache userpriv"

------- Comment #1 From Martin Holzer (RETIRED) 2003-06-11 15:11:21 0000 -------
fixed this horrible error in cvs

thx