Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 12655

Summary: xfree-4.2.99.3-r1 ebuild tests gcc-version instead of gcc --version
Product: Gentoo Linux Reporter: Michal Maruska <mmc>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 1.0   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michal Maruska 2002-12-23 22:16:35 UTC
if i'm not misleaded, the line: if [ "`gcc-version`" != "2.95" ]    should read as if [ "`gcc --version`" != "2.95" ]
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-12-23 22:20:12 UTC
the gcc-version function is defined in /usr/portage/eclass/gcc.eclass which the
xfree ebuild inherits.