diff options
author | 2005-05-15 15:35:04 +0000 | |
---|---|---|
committer | 2005-05-15 15:35:04 +0000 | |
commit | 32127495e03124b99750a95fcdd40682f7005f28 (patch) | |
tree | 0b0b405cc5ee58a95b2d293e8003aee3c5546f8c /media-video/mpgtx/mpgtx-1.3.1.ebuild | |
parent | Add an updated comment for mono (diff) | |
download | historical-32127495e03124b99750a95fcdd40682f7005f28.tar.gz historical-32127495e03124b99750a95fcdd40682f7005f28.tar.bz2 historical-32127495e03124b99750a95fcdd40682f7005f28.zip |
Improved check for gcc 3.4 or better, considering gcc 4.
Package-Manager: portage-2.0.51.21-r1
Diffstat (limited to 'media-video/mpgtx/mpgtx-1.3.1.ebuild')
-rw-r--r-- | media-video/mpgtx/mpgtx-1.3.1.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/media-video/mpgtx/mpgtx-1.3.1.ebuild b/media-video/mpgtx/mpgtx-1.3.1.ebuild index 4ef697795331..1683b91891d3 100644 --- a/media-video/mpgtx/mpgtx-1.3.1.ebuild +++ b/media-video/mpgtx/mpgtx-1.3.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/mpgtx/mpgtx-1.3.1.ebuild,v 1.4 2005/05/15 13:59:26 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/mpgtx/mpgtx-1.3.1.ebuild,v 1.5 2005/05/15 15:35:04 flameeyes Exp $ inherit eutils toolchain-funcs @@ -17,9 +17,12 @@ DEPEND="" src_compile() { ./configure --parachute --prefix=/usr - if [ "$(gcc-major-version)" -ge "3" -a "$(gcc-minor-version)" -ge "4" ]; then + + if [ "$(gcc-major-version)" -eq "3" -a "$(gcc-minor-version)" -ge "4" ] || \ + [ "$(gcc-major-version)" -ge "4" ]; then sed -i "s:-O3:-O3 -fno-unit-at-a-time:" Makefile fi + emake || die "emake failed" } |