diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-10-10 20:14:55 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-10-10 20:14:55 +0000 |
commit | 69c13ccd140ae26d10642d638840c53c5e40b80c (patch) | |
tree | 3285febd1a607ee0bd7dabad1cb0a484a77a3e74 /sys-devel/gdb | |
parent | Add default -march for x86 on amd64 builds based on CHOST #185404. (diff) | |
download | gentoo-2-69c13ccd140ae26d10642d638840c53c5e40b80c.tar.gz gentoo-2-69c13ccd140ae26d10642d638840c53c5e40b80c.tar.bz2 gentoo-2-69c13ccd140ae26d10642d638840c53c5e40b80c.zip |
Version bump.
(Portage version: 2.1.3.12)
Diffstat (limited to 'sys-devel/gdb')
-rw-r--r-- | sys-devel/gdb/ChangeLog | 7 | ||||
-rw-r--r-- | sys-devel/gdb/files/digest-gdb-6.7 | 6 | ||||
-rw-r--r-- | sys-devel/gdb/gdb-6.7.ebuild | 82 |
3 files changed, 94 insertions, 1 deletions
diff --git a/sys-devel/gdb/ChangeLog b/sys-devel/gdb/ChangeLog index 7d7abc6e739c..d05a6634eacc 100644 --- a/sys-devel/gdb/ChangeLog +++ b/sys-devel/gdb/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-devel/gdb # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.120 2007/07/09 04:42:21 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.121 2007/10/10 20:14:54 vapier Exp $ + +*gdb-6.7 (10 Oct 2007) + + 10 Oct 2007; Mike Frysinger <vapier@gentoo.org> +gdb-6.7.ebuild: + Version bump. 09 Jul 2007; Mike Frysinger <vapier@gentoo.org> gdb-6.6-r2.ebuild: Fix building on hppa with sanitized headers #180476. diff --git a/sys-devel/gdb/files/digest-gdb-6.7 b/sys-devel/gdb/files/digest-gdb-6.7 new file mode 100644 index 000000000000..5373bfb4f40a --- /dev/null +++ b/sys-devel/gdb/files/digest-gdb-6.7 @@ -0,0 +1,6 @@ +MD5 12e3f9ceeeed5f2187348b0d0efaca6f gdb-6.7-patches-1.0.tar.bz2 12838 +RMD160 18f3c59508996260a2802ff7c448c052745e09ed gdb-6.7-patches-1.0.tar.bz2 12838 +SHA256 12f8c9b7cfbfb26c93be2f0947ae7a8dc79330a8e0bfe09ef75de5af811c4288 gdb-6.7-patches-1.0.tar.bz2 12838 +MD5 d6e7c0ad7654bc91a3a457fabb6ad6c6 gdb-6.7.tar.bz2 15073550 +RMD160 f0986444276aab71812de18a68d985c69bff053a gdb-6.7.tar.bz2 15073550 +SHA256 ee9426b4e63414de2435a46f5f3f764fc2a343b9bc764de04e8652ab68c095b5 gdb-6.7.tar.bz2 15073550 diff --git a/sys-devel/gdb/gdb-6.7.ebuild b/sys-devel/gdb/gdb-6.7.ebuild new file mode 100644 index 000000000000..c5e4d4aadfec --- /dev/null +++ b/sys-devel/gdb/gdb-6.7.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-6.7.ebuild,v 1.1 2007/10/10 20:14:54 vapier Exp $ + +inherit flag-o-matic eutils + +export CTARGET=${CTARGET:-${CHOST}} +if [[ ${CTARGET} == ${CHOST} ]] ; then + if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then + export CTARGET=${CATEGORY/cross-} + fi +fi + +PATCH_VER="1.0" +DESCRIPTION="GNU debugger" +HOMEPAGE="http://sources.redhat.com/gdb/" +SRC_URI="http://ftp.gnu.org/gnu/gdb/${P}.tar.bz2 + ftp://sources.redhat.com/pub/gdb/releases/${P}.tar.bz2 + mirror://gentoo/${P}-patches-${PATCH_VER}.tar.bz2" + +LICENSE="GPL-2 LGPL-2" +[[ ${CTARGET} != ${CHOST} ]] \ + && SLOT="${CTARGET}" \ + || SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd" +IUSE="nls test vanilla" + +RDEPEND=">=sys-libs/ncurses-5.2-r2" +DEPEND="${RDEPEND} + test? ( dev-util/dejagnu ) + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + cd "${S}" + use vanilla || EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch + strip-linguas -u bfd/po opcodes/po +} + +src_compile() { + replace-flags -O? -O2 + econf \ + --disable-werror \ + $(use_enable nls) \ + || die + emake || die +} + +src_test() { + make check || ewarn "tests failed" +} + +src_install() { + emake \ + DESTDIR="${D}" \ + libdir=/nukeme/pretty/pretty/please includedir=/nukeme/pretty/pretty/please \ + install || die + rm -r "${D}"/nukeme || die + + # Don't install docs when building a cross-gdb + if [[ ${CTARGET} != ${CHOST} ]] ; then + rm -r "${D}"/usr/share + return 0 + fi + + dodoc README + docinto gdb + dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ + gdb/NEWS gdb/ChangeLog gdb/PROBLEMS + docinto sim + dodoc sim/ChangeLog sim/MAINTAINERS sim/README-HACKING + + dodoc "${WORKDIR}"/extra/gdbinit.sample + + # Remove shared info pages + rm -f "${D}"/usr/share/info/{annotate,bfd,configure,standards}.info* +} + +pkg_postinst() { + # portage sucks and doesnt unmerge files in /etc + rm -vf "${ROOT}"/etc/skel/.gdbinit +} |