Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22638 - libsdl ebuilds don't handle X and xv USE flags properly
Summary: libsdl ebuilds don't handle X and xv USE flags properly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Holzer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-11 14:27 UTC by Derek Dolney
Modified: 2003-06-11 15:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Derek Dolney 2003-06-11 14:27:43 UTC
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 Martin Holzer (RETIRED) gentoo-dev 2003-06-11 15:11:21 UTC
fixed this horrible error in cvs

thx