summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2004-04-26 15:56:49 +0000
committerAron Griffis <agriffis@gentoo.org>2004-04-26 15:56:49 +0000
commitb56f57c9add7643d9b81dfe0472b125514cf62b0 (patch)
tree8c47bca7e30f378665f0c35255d45708e85c6cf2 /net-mail
parentAdd die following econf for bug 48950 (Manifest recommit) (diff)
downloadgentoo-2-b56f57c9add7643d9b81dfe0472b125514cf62b0.tar.gz
gentoo-2-b56f57c9add7643d9b81dfe0472b125514cf62b0.tar.bz2
gentoo-2-b56f57c9add7643d9b81dfe0472b125514cf62b0.zip
Fix bug 48364 (QA/Ebuild Violations: net-mail/mozilla-thunderbird) by moving sparc and ppc support into src_compile where they belong.
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/mozilla-thunderbird/ChangeLog7
-rw-r--r--net-mail/mozilla-thunderbird/mozilla-thunderbird-0.5-r1.ebuild19
2 files changed, 14 insertions, 12 deletions
diff --git a/net-mail/mozilla-thunderbird/ChangeLog b/net-mail/mozilla-thunderbird/ChangeLog
index f7f571dd754b..2c7754cdddd8 100644
--- a/net-mail/mozilla-thunderbird/ChangeLog
+++ b/net-mail/mozilla-thunderbird/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-mail/mozilla-thunderbird
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mozilla-thunderbird/ChangeLog,v 1.25 2004/04/11 08:21:00 lv Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mozilla-thunderbird/ChangeLog,v 1.26 2004/04/26 15:56:49 agriffis Exp $
+
+ 26 Apr 2004; Aron Griffis <agriffis@gentoo.org>
+ mozilla-thunderbird-0.5-r1.ebuild:
+ Fix bug 48364 (QA/Ebuild Violations: net-mail/mozilla-thunderbird) by moving
+ sparc and ppc support into src_compile where they belong.
11 Apr 2004; Travis Tilley <lv@gentoo.org> mozilla-thunderbird-0.5.ebuild:
marked stable on amd64
diff --git a/net-mail/mozilla-thunderbird/mozilla-thunderbird-0.5-r1.ebuild b/net-mail/mozilla-thunderbird/mozilla-thunderbird-0.5-r1.ebuild
index 8928812bbf57..a999d897c393 100644
--- a/net-mail/mozilla-thunderbird/mozilla-thunderbird-0.5-r1.ebuild
+++ b/net-mail/mozilla-thunderbird/mozilla-thunderbird-0.5-r1.ebuild
@@ -1,19 +1,9 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mozilla-thunderbird/mozilla-thunderbird-0.5-r1.ebuild,v 1.2 2004/03/25 08:32:45 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mozilla-thunderbird/mozilla-thunderbird-0.5-r1.ebuild,v 1.3 2004/04/26 15:56:49 agriffis Exp $
inherit makeedit flag-o-matic gcc nsplugins
-# Added to get thunderbird to compile on sparc.
-replace-sparc64-flags
-if [ "`use ppc`" -a "$(gcc-major-version)" -eq "3" -a "$(gcc-minor-version)" -eq "3" ]
-then
-
-append-flags -fno-strict-aliasing
-
-fi
-
-
S=${WORKDIR}/mozilla
EMVER="0.83.3"
@@ -157,7 +147,14 @@ src_compile() {
replace-flags -march=pentium4 -march=pentium3
filter-flags -msse2
fi
+ fi
+
+ # Added to get thunderbird to compile on sparc.
+ replace-sparc64-flags
+ if use ppc && [[ $(gcc-major-version) == 3 && $(gcc-minor-version) == 3 ]]
+ then
+ append-flags -fno-strict-aliasing
fi
econf ${myconf} || die