Bug 204119 - sys-apps/dmidecode fails on cross distcc (CC non correctly set)
Bug#: 204119 Product:  Gentoo Linux Version: 2007.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P3
Resolution: FIXED Assigned To: base-system@gentoo.org Reported By: scen@gentoo.org
Component: Ebuilds
URL: 
Summary: sys-apps/dmidecode fails on cross distcc (CC non correctly set)
Keywords:  
Status Whiteboard: 
Opened: 2008-01-02 21:09 0000
Description:   Opened: 2008-01-02 21:09 0000
sys-apps/dmidecode ebuild does not set CC correctly (default to "gcc", instead
of ${CHOST}-gcc}, so any attempt to build it using a cross distcc ends with an
error.

I propose a little working patch, but feel free to resolve the issue in a more
elegant manner ;-)

------- Comment #1 From Davide Cendron 2008-01-02 21:09:57 0000 -------
Created an attachment (id=139910) [details]
dmidecode-2.9.ebuild.diff

------- Comment #2 From SpanKY 2008-01-02 21:53:24 0000 -------
you forgot to inherit toolchain-funcs, but otherwise the meat of the patch is
OK

should be fixed in cvs now, thanks!

http://sources.gentoo.org/sys-apps/dmidecode/dmidecode-2.9.ebuild?r1=1.4&r2=1.5