Bug 169336 - net-www/gnash-0.7.2_p20099999 compiling with --enable-klash when using -kde
Bug#: 169336 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: genstef@gentoo.org Reported By: ranquet@imerir.com
Component: Ebuilds
URL: 
Summary: net-www/gnash-0.7.2_p20099999 compiling with --enable-klash when using -kde
Keywords:  
Status Whiteboard: 
Opened: 2007-03-04 18:06 0000
Description:   Opened: 2007-03-04 18:06 0000
when emerging gnash-0.7.2_p20099999 with the -kde useflags, it tries to compile
with --enable-klash which fails because it doesn't find some kdelibs.

Reproducible: Always

Steps to Reproduce:
emerge =gnash-0.7.2_p20099999 with -kde set and no kde//qt emerged

Actual Results:  
      KDE flags are: -I/usr/kde/3.5/include/kde -I/usr/kde/3.5/include/kde/kio
        KDE libs are: -L/usr/kde/3.5/lib -lkdeui -lkdecore -lkdeprint
        ERROR: No QT development package installed!
               Reconfigure with --disable-klash to continue
               and/or change to a different gui


Expected Results:  
fine compile with the --disable-klash option

fixed it by modifying the ebuild:
transformed:
        if use kde; then
                myconf="${myconf} --enable-klash
--with-qt-incl=${QTDIR}/include
                        --with-qt-lib=${QTDIR}/$(get_libdir)"
        fi
into:
        if use kde; then
                myconf="${myconf} --enable-klash
--with-qt-incl=${QTDIR}/include
                        --with-qt-lib=${QTDIR}/$(get_libdir)"
        else
                myconf="${myconf} --disable-klash"
        fi

------- Comment #1 From g-ranquet 2007-03-04 18:08:09 0000 -------
Created an attachment (id=112097) [details]
patched ebuild

------- Comment #2 From Stefan Schweizer 2007-03-04 19:11:20 0000 -------
thanks, fixed