summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hanselmann <hansmi@gentoo.org>2005-10-07 18:54:48 +0000
committerMichael Hanselmann <hansmi@gentoo.org>2005-10-07 18:54:48 +0000
commit1c7dcc7c41e4514358eda662296eb8b4734c96ae (patch)
tree6965ebd37f22406cf602c1c9b32ac240a4c1d52b /www-client/mozilla-firefox
parentxmlrpc only needs ant-core, not the full ant. Removed installation of License... (diff)
downloadgentoo-2-1c7dcc7c41e4514358eda662296eb8b4734c96ae.tar.gz
gentoo-2-1c7dcc7c41e4514358eda662296eb8b4734c96ae.tar.bz2
gentoo-2-1c7dcc7c41e4514358eda662296eb8b4734c96ae.zip
Fix a compilation issue using the 32-bit userland with 64-bit kernel on PowerPC.
(Portage version: 2.0.53_rc4)
Diffstat (limited to 'www-client/mozilla-firefox')
-rw-r--r--www-client/mozilla-firefox/ChangeLog7
-rw-r--r--www-client/mozilla-firefox/mozilla-firefox-1.0.7-r3.ebuild12
2 files changed, 17 insertions, 2 deletions
diff --git a/www-client/mozilla-firefox/ChangeLog b/www-client/mozilla-firefox/ChangeLog
index 71abfbf96892..5b754a4f9e40 100644
--- a/www-client/mozilla-firefox/ChangeLog
+++ b/www-client/mozilla-firefox/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-client/mozilla-firefox
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/ChangeLog,v 1.95 2005/10/02 19:51:54 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/ChangeLog,v 1.96 2005/10/07 18:54:48 hansmi Exp $
+
+ 07 Oct 2005; Michael Hanselmann <hansmi@gentoo.org>
+ mozilla-firefox-1.0.7-r3.ebuild:
+ Fix a compilation issue using the 32-bit userland with 64-bit kernel on
+ PowerPC.
02 Oct 2005; Martin Schlemmer <azarah@gentoo.org>
mozilla-firefox-1.0.7-r3.ebuild:
diff --git a/www-client/mozilla-firefox/mozilla-firefox-1.0.7-r3.ebuild b/www-client/mozilla-firefox/mozilla-firefox-1.0.7-r3.ebuild
index 2606aedfa60f..4d1d46c1ffe9 100644
--- a/www-client/mozilla-firefox/mozilla-firefox-1.0.7-r3.ebuild
+++ b/www-client/mozilla-firefox/mozilla-firefox-1.0.7-r3.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/www-client/mozilla-firefox/mozilla-firefox-1.0.7-r3.ebuild,v 1.2 2005/10/02 19:51:54 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-1.0.7-r3.ebuild,v 1.3 2005/10/07 18:54:48 hansmi Exp $
unset ALLOWED_FLAGS # stupid extra-functions.sh ... bug 49179
MOZ_FREETYPE2="no" # Need to disable for newer .. remove here and in mozconfig
@@ -74,6 +74,16 @@ src_unpack() {
sed -i -e '1s,usr/local/bin,usr/bin,' ${S}/security/nss/cmd/smimetools/smime
eend $? || die "sed failed"
+ # Fix a compilation issue using the 32-bit userland with 64-bit kernel on
+ # PowerPC, because with that configuration, mozilla detects a ppc64 system.
+ # -- hansmi, 2005-10-02
+ if use ppc && [[ "${PROFILE_ARCH}" == ppc64 ]]; then
+ sed -i -e "s#OS_TEST=\`uname -m\`\$#OS_TEST=${ARCH}#" \
+ ${S}/configure.in
+ sed -i -e "s#OS_TEST :=.*uname -m.*\$#OS_TEST:=${ARCH}#" \
+ ${S}/security/coreconf/arch.mk
+ fi
+
# Needed by some of the patches
WANT_AUTOCONF=2.1 autoconf || die "WANT_AUTOCONF failed"
}