summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-05-15 15:35:04 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-05-15 15:35:04 +0000
commit32127495e03124b99750a95fcdd40682f7005f28 (patch)
tree0b0b405cc5ee58a95b2d293e8003aee3c5546f8c /media-video/mpgtx
parentAdd an updated comment for mono (diff)
downloadhistorical-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')
-rw-r--r--media-video/mpgtx/ChangeLog5
-rw-r--r--media-video/mpgtx/Manifest4
-rw-r--r--media-video/mpgtx/mpgtx-1.3.1.ebuild7
3 files changed, 11 insertions, 5 deletions
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ò <flameeyes@gentoo.org> mpgtx-1.3.1.ebuild:
+ Improved check for gcc 3.4 or better, considering gcc 4.
15 May 2005; Diego Pettenò <flameeyes@gentoo.org> 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"
}