From 32127495e03124b99750a95fcdd40682f7005f28 Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Sun, 15 May 2005 15:35:04 +0000 Subject: Improved check for gcc 3.4 or better, considering gcc 4. Package-Manager: portage-2.0.51.21-r1 --- media-video/mpgtx/ChangeLog | 5 ++++- media-video/mpgtx/Manifest | 4 ++-- media-video/mpgtx/mpgtx-1.3.1.ebuild | 7 +++++-- 3 files changed, 11 insertions(+), 5 deletions(-) (limited to 'media-video/mpgtx') diff --git a/media-video/mpgtx/ChangeLog b/media-video/mpgtx/ChangeLog index 69ea9a899124..8a1218ff25a4 100644 --- a/media-video/mpgtx/ChangeLog +++ b/media-video/mpgtx/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-video/mpgtx # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/mpgtx/ChangeLog,v 1.11 2005/05/15 13:59:26 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/mpgtx/ChangeLog,v 1.12 2005/05/15 15:35:04 flameeyes Exp $ + + 15 May 2005; Diego Pettenò mpgtx-1.3.1.ebuild: + Improved check for gcc 3.4 or better, considering gcc 4. 15 May 2005; Diego Pettenò mpgtx-1.3.1.ebuild: Moved to toolchain-funcs eclass and removed virtual/libc dep. diff --git a/media-video/mpgtx/Manifest b/media-video/mpgtx/Manifest index 6295fc5fa6e0..e5b5afceface 100644 --- a/media-video/mpgtx/Manifest +++ b/media-video/mpgtx/Manifest @@ -1,4 +1,4 @@ -MD5 c6fe1ff633e99f58b02f2e50bee51fea ChangeLog 1546 +MD5 f4fae7f6a2fd30b887b06cddf71e2821 ChangeLog 1679 MD5 7300a7b361fa9f48e37722c6952bd432 metadata.xml 158 -MD5 c833f1e2c0146887bdbf04739ad8e99a mpgtx-1.3.1.ebuild 1402 +MD5 2f3030f4b9b295a7e312393e025a95ed mpgtx-1.3.1.ebuild 1445 MD5 e7a438b14d3a5d4e41f591b09d90b6cf files/digest-mpgtx-1.3.1 62 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" } -- cgit v1.2.3-65-gdbad