diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2002-06-07 22:25:07 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2002-06-07 22:25:07 +0000 |
commit | 0875b7f1d2b0ea189982ad657e0687cc40e77e2c (patch) | |
tree | 72303371a074b4b1cb0559430ee59cf946efbab5 /x11-base | |
parent | add GeForce2Go support (diff) | |
download | gentoo-2-0875b7f1d2b0ea189982ad657e0687cc40e77e2c.tar.gz gentoo-2-0875b7f1d2b0ea189982ad657e0687cc40e77e2c.tar.bz2 gentoo-2-0875b7f1d2b0ea189982ad657e0687cc40e77e2c.zip |
fix gcc-3.1 compile problem
Diffstat (limited to 'x11-base')
-rw-r--r-- | x11-base/xfree/ChangeLog | 5 | ||||
-rw-r--r-- | x11-base/xfree/xfree-4.2.0-r11.ebuild | 14 |
2 files changed, 15 insertions, 4 deletions
diff --git a/x11-base/xfree/ChangeLog b/x11-base/xfree/ChangeLog index 774c219eeb21..df1dac4dce12 100644 --- a/x11-base/xfree/ChangeLog +++ b/x11-base/xfree/ChangeLog @@ -1,12 +1,13 @@ # ChangeLog for x11-base/xfree # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/ChangeLog,v 1.24 2002/06/07 21:18:56 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/ChangeLog,v 1.25 2002/06/07 22:25:07 azarah Exp $ *xfree-4.2.0-r11 (28 May 2002) 7 Jun 2002; Martin Schlemmer <azarah@gentoo.org> xfree-4.2.0-r11.ebuild : - Add Nvidia GeForce2Go support; bug #2732. + Add Nvidia GeForce2Go support; bug #2732. Fix gcc-3.1 compile problem + thanks to Verwilst. 6 Jun 2002; Martin Schlemmer <azarah@gentoo.org> xfree-4.2.0-r11.ebuild : diff --git a/x11-base/xfree/xfree-4.2.0-r11.ebuild b/x11-base/xfree/xfree-4.2.0-r11.ebuild index ced19cdb11f1..b83d3f6e9cdf 100644 --- a/x11-base/xfree/xfree-4.2.0-r11.ebuild +++ b/x11-base/xfree/xfree-4.2.0-r11.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: Achim Gottinger <achim@gentoo.org>, Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/xfree-4.2.0-r11.ebuild,v 1.7 2002/06/02 20:04:44 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/xfree-4.2.0-r11.ebuild,v 1.8 2002/06/07 22:25:07 azarah Exp $ FT2_VER=2.0.9 MY_V="`echo ${PV} |sed -e 's:\.::g'`" @@ -162,7 +162,17 @@ src_compile() { src_install() { - make install DESTDIR=${D} || die + # fix compile for gcc-3.1 + if [ "`gcc -dumpversion`" = "3.1" ] + then + make install \ + CXXDEBUGFLAGS="${CXXDEBUGFLAGS} -mno-mmx" \ + CDEBUGFLAGS="${CDEBUGFLAGS} -mno-mmx" \ + DESTDIR=${D} || die + else + make install DESTDIR=${D} || die + fi + make install.man DESTDIR=${D} || die if [ "`use nls`" ] |