summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/gdb/gdb-5.3.ebuild')
-rw-r--r--sys-devel/gdb/gdb-5.3.ebuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/sys-devel/gdb/gdb-5.3.ebuild b/sys-devel/gdb/gdb-5.3.ebuild
index 96f94a57c4f0..f5d1d57660c8 100644
--- a/sys-devel/gdb/gdb-5.3.ebuild
+++ b/sys-devel/gdb/gdb-5.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-5.3.ebuild,v 1.8 2003/03/24 13:53:56 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-5.3.ebuild,v 1.9 2003/05/19 22:50:24 kumba Exp $
IUSE="nls objc"
@@ -12,7 +12,7 @@ SRC_URI="http://mirrors.rcn.net/pub/sourceware/gdb/releases/${P}.tar.bz2
LICENSE="GPL-2 LGPL-2"
SLOT="0"
-KEYWORDS="x86 ppc -sparc alpha hppa"
+KEYWORDS="x86 ppc ~sparc alpha hppa"
DEPEND=">=sys-libs/ncurses-5.2-r2
nls? ( sys-devel/gettext )"
@@ -28,7 +28,14 @@ src_unpack() {
patch -p1 < ${FILESDIR}/gdb-5.3-hppa-01.patch
patch -p1 < ${FILESDIR}/gdb-5.3-hppa-02.patch
patch -p1 < ${FILESDIR}/gdb-5.3-hppa-03.patch
- fi
+ fi
+
+
+ # Fix Compile bug on sparc
+ if [ "${ARCH}" = "sparc" ]; then
+ cd ${S}
+ epatch ${FILESDIR}/${P}-sparc-nat-asm.patch
+ fi
if [ -n "`use objc`" ] ; then