<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>22638</bug_id>
          
          <creation_ts>2003-06-11 14:27 0000</creation_ts>
          <short_desc>libsdl ebuilds don&apos;t handle X and xv USE flags properly</short_desc>
          <delta_ts>2003-06-11 15:11:21 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>nospam@dolney.com</reporter>
          <assigned_to>mholzer@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>nospam@dolney.com</who>
            <bug_when>2003-06-11 14:27:43 0000</bug_when>
            <thetext>All current libsdl ebuilds are not USEing X and xv properly. This is because
they look like this:

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

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=&quot;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/&quot;
CONFIG_PROTECT=&quot;/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/&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
PORTDIR=&quot;/usr/portage&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR_OVERLAY=&quot;&quot;
USE=&quot;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&quot;
COMPILER=&quot;gcc3&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-march=athlon-tbird -O3 -fomit-frame-pointer -pipe&quot;
CXXFLAGS=&quot;-march=athlon-tbird -O3 -fomit-frame-pointer -pipe&quot;
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
MAKEOPTS=&quot;-j2&quot;
AUTOCLEAN=&quot;yes&quot;
SYNC=&quot;rsync://rsync.us.gentoo.org/gentoo-portage&quot;
FEATURES=&quot;sandbox ccache userpriv&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mholzer@gentoo.org</who>
            <bug_when>2003-06-11 15:11:21 0000</bug_when>
            <thetext>fixed this horrible error in cvs

thx</thetext>
          </long_desc>
      
    </bug>

</bugzilla>