gdb 6.0 available
I wrote ebuild to gdb-6.0: -----cut------ IUSE="nls objc" S=${WORKDIR}/${P} DESCRIPTION="GNU debugger" HOMEPAGE="http://sources.redhat.com/gdb/" SRC_URI="http://mirrors.rcn.net/pub/sourceware/gdb/releases/${P}.tar.bz2" LICENSE="GPL-2 LGPL-2" SLOT="0" KEYWORDS="~x86 ~ppc ~sparc " DEPEND=">=sys-libs/ncurses-5.2-r2 nls? ( sys-devel/gettext )" inherit flag-o-matic ccc replace-flags -O? -O2 src_unpack() { unpack gdb-${PV}.tar.bz2 } src_compile() { local myconf use nls && myconf="--enable-nls" || myconf="--disable-nls" econf ${myconf} || die make || die } src_install() { make \ prefix=${D}/usr \ mandir=${D}/usr/share/man \ infodir=${D}/usr/share/info \ install || die cd gdb/doc make \ infodir=${D}/usr/share/info \ install-info || die cd ${S}/bfd/doc make \ infodir=${D}/usr/share/info \ install-info || die cd ${S} # These includes and libs are in binutils already rm -f ${D}/usr/lib/libbfd.* rm -r ${D}/usr/lib/libiberty.* rm -f ${D}/usr/lib/libopcodes.* rm -rf ${D}/usr/include dodoc COPYING* README docinto gdb dodoc gdb/CONTRIBUTE gdb/COPYING* gdb/README \ gdb/MAINTAINERS gdb/NEWS gdb/ChangeLog* \ gdb/TODO docinto sim dodoc sim/ChangeLog sim/MAINTAINERS sim/README-HACKING docinto mmalloc dodoc mmalloc/COPYING.LIB mmalloc/MAINTAINERS \ mmalloc/ChangeLog mmalloc/TODO } ------cut------
can you please attach the ebuild file instead of pasting it
Hi, did you check if the current patches which are in gdb-5.3.90.ebuild are valid for gdb-6.0? I will try and do so myself ...
Ok I have gone though the ebuild and patches. Some non x86 patches may be missing, but according to gdb-6.0/gdb/NEWS most of those patches were included. I have added the ebuild to portage, many thank Closing the bug