summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter van den Abeele <pvdabeel@gentoo.org>2002-04-27 12:02:48 +0000
committerPieter van den Abeele <pvdabeel@gentoo.org>2002-04-27 12:02:48 +0000
commitf553671fad231ba87ad65454567430cd74b2c3fc (patch)
treec28a440b63adcf7b3f0c19b456d8733ae04cf2ce /net-www/mozilla
parentcleanup (diff)
downloadgentoo-2-f553671fad231ba87ad65454567430cd74b2c3fc.tar.gz
gentoo-2-f553671fad231ba87ad65454567430cd74b2c3fc.tar.bz2
gentoo-2-f553671fad231ba87ad65454567430cd74b2c3fc.zip
PPC(/sparc) fix
Diffstat (limited to 'net-www/mozilla')
-rw-r--r--net-www/mozilla/ChangeLog7
-rw-r--r--net-www/mozilla/mozilla-0.9.9-r2.ebuild30
-rw-r--r--net-www/mozilla/mozilla-1.0_rc1.ebuild30
3 files changed, 60 insertions, 7 deletions
diff --git a/net-www/mozilla/ChangeLog b/net-www/mozilla/ChangeLog
index 7508e1b83ca0..181c38708d97 100644
--- a/net-www/mozilla/ChangeLog
+++ b/net-www/mozilla/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-www/mozilla
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla/ChangeLog,v 1.10 2002/04/24 22:26:41 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla/ChangeLog,v 1.11 2002/04/27 12:02:48 pvdabeel Exp $
+
+ 27 Apr 2002; pvdabeel <pvdabeel@gentoo.org> :
+
+ ppc(/sparc) fix 0.9.9 and 1.0-rc1
+ older ebuild should be masked out or fixed
24 Apr 2002; M.Schlemmer <azarah@gentoo.org> :
diff --git a/net-www/mozilla/mozilla-0.9.9-r2.ebuild b/net-www/mozilla/mozilla-0.9.9-r2.ebuild
index d51ec175fa21..1b82858ae303 100644
--- a/net-www/mozilla/mozilla-0.9.9-r2.ebuild
+++ b/net-www/mozilla/mozilla-0.9.9-r2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Martin Schlemmer <azarah@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla/mozilla-0.9.9-r2.ebuild,v 1.5 2002/04/26 06:16:57 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla/mozilla-0.9.9-r2.ebuild,v 1.6 2002/04/27 12:02:48 pvdabeel Exp $
S=${WORKDIR}/mozilla
DESCRIPTION="The Mozilla Web Browser"
@@ -151,8 +151,32 @@ src_install() {
make || die
dodir /usr/lib
- tar xzf ${S}/dist/mozilla-`uname -m`-pc-linux-gnu.tar.gz \
- -C ${D}/usr/lib
+ # ppc fix #
+
+ SYSTEM_ARCH=`echo $ARCH |\
+ sed -e s/[i]*.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/`
+ if [ -z "$SYSTEM_ARCH" ]
+ then
+ SYSTEM_ARCH=`uname -m |\
+ sed -e s/[i]*.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/`
+ fi
+
+ TODO="${S}/dist/mozilla-`uname -m`-pc-linux-gnu.tar.gz"
+
+ case $SYSTEM_ARCH in
+ ppc)
+ TODO="${S}/dist/mozilla-powerpc-unknown-linux-gnu.tar.gz";;
+ i386)
+ TODO="${S}/dist/mozilla-`uname -m`-pc-linux-gnu.tar.gz";;
+ sparc64)
+ ;;
+ arm)
+ ;;
+ esac
+
+ tar xzf ${TODO} -C ${D}/usr/lib
+
+ # end ppc fix #
# Install the development tools in /usr
dodir /usr/bin
diff --git a/net-www/mozilla/mozilla-1.0_rc1.ebuild b/net-www/mozilla/mozilla-1.0_rc1.ebuild
index 88b9e409d9bf..f7b9051ea95e 100644
--- a/net-www/mozilla/mozilla-1.0_rc1.ebuild
+++ b/net-www/mozilla/mozilla-1.0_rc1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Martin Schlemmer <azarah@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla/mozilla-1.0_rc1.ebuild,v 1.4 2002/04/26 06:16:57 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla/mozilla-1.0_rc1.ebuild,v 1.5 2002/04/27 12:02:48 pvdabeel Exp $
S=${WORKDIR}/mozilla
DESCRIPTION="The Mozilla Web Browser"
@@ -151,8 +151,32 @@ src_install() {
make || die
dodir /usr/lib
- tar xzf ${S}/dist/mozilla-`uname -m`-pc-linux-gnu.tar.gz \
- -C ${D}/usr/lib
+ # ppc fix #
+
+ SYSTEM_ARCH=`echo $ARCH |\
+ sed -e s/[i]*.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/`
+ if [ -z "$SYSTEM_ARCH" ]
+ then
+ SYSTEM_ARCH=`uname -m |\
+ sed -e s/[i]*.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/`
+ fi
+
+ TODO="${S}/dist/mozilla-`uname -m`-pc-linux-gnu.tar.gz"
+
+ case $SYSTEM_ARCH in
+ ppc)
+ TODO="${S}/dist/mozilla-powerpc-unknown-linux-gnu.tar.gz";;
+ i386)
+ TODO="${S}/dist/mozilla-`uname -m`-pc-linux-gnu.tar.gz";;
+ sparc64)
+ ;;
+ arm)
+ ;;
+ esac
+
+ tar xzf ${TODO} -C ${D}/usr/lib
+
+ # end ppc fix #
# Install the development tools in /usr
dodir /usr/bin