summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-12-09 01:04:10 +0000
committerMike Frysinger <vapier@gentoo.org>2013-12-09 01:04:10 +0000
commit4d1be5acafee972235a900ecbd02dc17503213e1 (patch)
tree3f2ac52a7aa3f8f92ef441e34a55387b67e1d406 /sys-devel/gdb
parentRestore pypy support. (diff)
downloadhistorical-4d1be5acafee972235a900ecbd02dc17503213e1.tar.gz
historical-4d1be5acafee972235a900ecbd02dc17503213e1.tar.bz2
historical-4d1be5acafee972235a900ecbd02dc17503213e1.zip
Version bump.
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0xFB7C4156
Diffstat (limited to 'sys-devel/gdb')
-rw-r--r--sys-devel/gdb/ChangeLog8
-rw-r--r--sys-devel/gdb/Manifest33
-rw-r--r--sys-devel/gdb/gdb-7.6.2.ebuild197
-rw-r--r--sys-devel/gdb/gdb-9999.ebuild4
4 files changed, 224 insertions, 18 deletions
diff --git a/sys-devel/gdb/ChangeLog b/sys-devel/gdb/ChangeLog
index bea85dfc0c10..5a6fff12dbf1 100644
--- a/sys-devel/gdb/ChangeLog
+++ b/sys-devel/gdb/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-devel/gdb
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.247 2013/11/20 08:15:35 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.248 2013/12/09 01:04:05 vapier Exp $
+
+*gdb-7.6.2 (09 Dec 2013)
+
+ 09 Dec 2013; Mike Frysinger <vapier@gentoo.org> +gdb-7.6.2.ebuild,
+ gdb-9999.ebuild:
+ Version bump.
20 Nov 2013; Mike Frysinger <vapier@gentoo.org> gdb-7.3.1-r1.ebuild,
gdb-7.3.1.ebuild, gdb-7.3.ebuild, gdb-7.4.1.ebuild, gdb-7.4.ebuild,
diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest
index 4825987ad6e8..c13e5e93165d 100644
--- a/sys-devel/gdb/Manifest
+++ b/sys-devel/gdb/Manifest
@@ -30,6 +30,8 @@ DIST gdb-7.5.tar.bz2 21327195 SHA256 d178c45c328369ae4f24f9a0ec53b7d009e2bfa1d41
DIST gdb-7.6-patches-3.tar.xz 13644 SHA256 5ec83531a6bab75d9e3a67431d724b936cadb06862810b3182ac13f8d9b0cd22 SHA512 23a6e597629ecc544f8646eda5a637752b04cb5ecb7797f88d342e0c38f0680419a3656d8718722e8eeb7165e9aa7696c2e5b889049e5b405415bb7c391fa350 WHIRLPOOL 5a9f5cc513768c3218353ee74605ae224d556a72b557763370cc059e75fc31d438b57521df2e9d8eb5d713bbfb8d308d6b2cdf7dbdb7838343b12afc9d81e619
DIST gdb-7.6.1-patches-2.tar.xz 14136 SHA256 327948403616d1376cca2bfb0ff174b93bf0494390708864ef54bdd98bc4729f SHA512 f1364d5cc70ea3c131e48ec5cc7275bcf0f875b0dcbe663f507b0f5d082e7db38636fd9036db3da7b2e9794dbc7d42b24126d91fde9447f6f10fcc8b3aea7817 WHIRLPOOL aa738854e26da8469ae98fb681552a7f25777809027761bb788a42db73bfd7852a09e82a8bacb2870ffc52a5953bc398adc4e098c6d36f331cd23a9a9a75c6ed
DIST gdb-7.6.1.tar.bz2 24338919 SHA256 e3dfa38a14a5457f9b8b26f7b5080ba5491bd10ae4d69bfe357cea87b7d162e4 SHA512 ca42f003073d35cde42b43efe12f42888b39f2fc4b55f7df9faca2c8381a9329f19bf9366fff0af3ae59711aafaf9b4a33a15cb73a531c0c046b8ada98ed774b WHIRLPOOL 0489854f52e5d3e8fa36f4deb629e9aa7e83fd0ce80fe9aef6a9284e348e52e5d71e655d403a856911b868891ee2ba07bacc707326ef68d68052b557d5aef963
+DIST gdb-7.6.2-patches-1.tar.xz 14136 SHA256 aeb45e64c4d1f70cf97cd89e66dfe72d219b140e583f602720f29b5fa6ea5145 SHA512 d56e8a613ca0f33ebe203aa85a39881b10a0a15c56ea51c7633b6f032628e207d31d1adfc8f0b7e83754da729baead0acbc83893f1d480c41ce02cad38b6b4ff WHIRLPOOL e9f5482619653c54ad95f4c9eb5310320345ef3b825e373b629b320b9d11f6acfe88e5d713faf98927da77f05d5a37edef61bfce09a4a3990c20135945930a2c
+DIST gdb-7.6.2.tar.bz2 24269334 SHA256 2f6a0e2ce1c66c9dedeb7f58a8d1298ad602ddcdaf15d23104e1f7832b96d0e8 SHA512 e72e9c2abb58cc08c38841380270fe783f26baf62798171d21cf0843e6c9a81d285f424dc6229ea7b1c6c957d999c8aa75c2bd15076817abb9caab28c4eb7666 WHIRLPOOL bff0c9b33401b5efdf9c87408b4e4ee635509b536f371b4104895844a86256451d684412d0fab6dfb8e5ea2108ac2e4e383a33f2966ed2a32c4dbbbf54a280f4
DIST gdb-7.6.tar.bz2 24333590 SHA256 a410e8f35ee70cce83dbbf1da9e2a8373f271ac0e4b71db4336ae293fc7bdf1b SHA512 3b4f7f25ab8a8014a339966fd165dac6ac63df7d6403c338bbd38737bc0033d7e6461cdea2cd6dd095335a9d2a0ecd9d694e862b8d54d269dae577402e2b3ffe WHIRLPOOL c519955a9b6246e90b979783e5745e49de36b6fcd5b17360ae8db92283efb63117a592a03b92e173a11f986dfcc587e2d5c26f3aea49634f317f554ffe2f0e72
EBUILD gdb-6.6-r2.ebuild 1948 SHA256 e32a884423df64a81c05033f0a48ad26d9015cc3cc5834e4ea1a7f406156b4c5 SHA512 e9e701cd991d20a9a680eb93939a14ac8c34dec4ebad714d3272f1b14e63dfd90c4f516ff488ad8f6193bb3f5195edc8f097c6f420ceacb17c13b02b9de16230 WHIRLPOOL 087d7651b75c90783ba540b1a4d27bd43cb4abf642ade3bd2fd21c1c234c8d29eb2c5f93ae37ff067bd45a1cbabd4a7ce7c00090476bfc2e5e8bf6810a018ded
EBUILD gdb-6.7.1-r3.ebuild 2040 SHA256 9b1fc62f6128421bfc572e2709e4d76cc69c7a3dae024668094d5b61622b5216 SHA512 c807d690d3ad755ecdd83a5288f8370ea9b7a9354788a9ae6584b5abf350fc194d786509e7fb10e05d2a6862d2528174c4f8999cb0677fa0e0d69028ff7aacd8 WHIRLPOOL 30123c76166799a481015b3809c6f79f9e8a0914175ec1a5f5d5456d311c7e24efe05d514f66600b363cb3e1588084c3f4cd2e4d16247081c2e1e1e5e5bb2e35
@@ -47,24 +49,25 @@ EBUILD gdb-7.4.ebuild 5216 SHA256 cc8b3187988de8075a74a03abbe6a2f2580abc494ad5f3
EBUILD gdb-7.5.1.ebuild 5237 SHA256 05bf85253c4e65871c550120072c8cc98264cb9e75ee6a0ff82c08e66402ef44 SHA512 3b5b23dd9610df7c8d882e2a0fcf30a24b251870fdeda6140da512b8de3e03cc06cc53d975ea3990ceb713acaad789be8eaec9c17bcf02f43edd939486439ccd WHIRLPOOL e443c485a4978fd0ac9d0fcac2896c3eaa483fdcfa309378129167da992b522b36857234e5a16e0ce107c201594781e841e4d4762efe614ccfe08c27a38ec47b
EBUILD gdb-7.5.ebuild 5219 SHA256 eca11938053d160d0b75d022ef09ef13a8748b636bd4d1412108bb80932db4a2 SHA512 176f70b1ee6d4c7ab5f3ba96d2778df33a587c6c021430302277f08b79b9ea2abb79a0ace4e0c2e83ac164194b5c2846d69c9a10692e67063a1859d8fc0ebbc2 WHIRLPOOL 367cba8cea494ca7e3e926ace4d46552905f2ae2c11664a7668144a1e838df0ea1037c0b0114a6824aad5f1d814c0d4ca70b34f43b08900dce28e69f9e3b11c7
EBUILD gdb-7.6.1.ebuild 5701 SHA256 61fa6315537bfb0426fa6968f7f5334c9a350050bbae8edd834ab8088791886e SHA512 2cee7a9a39afaa8f8f573305eda0eecd07bfa46d79cd3ee9875bc2c813ddbb831ef179800550e241109468f6f5ed046a69aa482ad9385e3690fd0da85af8b4c8 WHIRLPOOL 78c803532c39a4fe29771026908652e7771d16e01ce99c4bd4743c40538abe7368c14f4a14f1313ec773a002033c90428fe6e9a959f2204abbf1b377c692b0be
+EBUILD gdb-7.6.2.ebuild 5701 SHA256 d3c3891b34731c4d6261078ccb46a1548613835a4662d9299532375c1dd6d9a2 SHA512 c216cdedaafd50b829fe6c1bf8dc468a0fe4772682f4a9a8b8b085653774babfe7ab5fb55824d746288d8e6879334322bc6b7e54625adc0a6402a99cdc323a3d WHIRLPOOL 61f9eb83b8f1a4f6557bcef3d4f867b47a0be7aacb0deb004b301b7e3a8304d7255ac2004a8d71e04215b5b024e47da99b0b9385c4451010763721ee6ece542b
EBUILD gdb-7.6.ebuild 5239 SHA256 8701bb297e5e6f3ee4975143959b66254583a07286d4a04071c660fedaac2ced SHA512 5837a2aa46ec5238fc3972f9c488af5e09921f9501b1d2bf8223e8b222ac26835dd0f3aa8f8c0dacf9451388a027314b18a44dfcfda43d8c195ce98a72aad2ff WHIRLPOOL 3ebcf62b70866953e575a1c5187e86d3531e54774446c1fd71a07f043470741840f3a44b077506d682b52ba10e3f5a476941ac6996d0b12dbd83f74ebf4c5a4f
-EBUILD gdb-9999.ebuild 5688 SHA256 63f58a0cc448c31e2c48dc2bbc5809fa6bcc68930471e350dcf60d156b3d88e2 SHA512 7440d96bb194532dbe5fe771c4251c4d8bbbdf7305af687ac1e8ce98953f2f37b2b91a2f92c40a5804567f83886a9b6adff54f27b3770f49a4bb31bbbde04b16 WHIRLPOOL b856fb4cfa0a2e58c9b8e8c23db3cf3d2b65c200d50cae51be93e39953a8d6db49dd0c5de740368e7667d3e9e238e06c32545ee2c86069095ecbcc862b6fa7cf
-MISC ChangeLog 32844 SHA256 d748c3fa83e173ae3112b02e58a375f878e83f5d5dcfdf23e6ee87dc30ec54e8 SHA512 a76ab7f929f47dc5c163e5fd73e9c5a486098b46d9c689fa61157dc865220660fdbb2a0bd4f112836c3789a722a5d3b7e25c1cba3afe482a0667bc9c9a07a31c WHIRLPOOL 3862ddddbb5a31f28d85a5c1ef0b3656f4ad0781b892c7786341ca62c336329adc8551fbfb4a497e91a3a4ccf5a511cf448307c2c8cd56406d3edafe9ed052a8
+EBUILD gdb-9999.ebuild 5700 SHA256 e71e4a3c2d9b5a62ec05cf1fca47c19fd317a56e43c197e7ab09ecea72980e4f SHA512 e07cb00063b5f69a38b25f6e7d2b47c4a6b8989ac69f504728211947eb9f4a865f632784a0f4ac71cd262de28986f7d9802ac97618213147cff9ae6190b5c250 WHIRLPOOL ff8d45bd2a3f9b987f992d27d526c905e65ca9eccc0deb7c368b22da3c5a869ef480247cc0b7e6bba8381b227d811c11a0a8a0a6d96417d5080a76741ccd27bd
+MISC ChangeLog 32975 SHA256 a241cfb68a26f8a05eb1f553fe5cba3bf3daf9b36809d66791c49f807e29a22f SHA512 a2af4a3b86b1d2f80044e8ec2c16966bb7b94062e687f2eccb2c77779d12c3df31e7ed5da12909462bfa47f50c2175f75a206f950820e9f60683bce95368780e WHIRLPOOL 363d370cf79f68f5218d158b57a55bf55749a722f6d895feb22dea72127a0c58871974de1cb681a97fa8d2124698099a1aa67b429993f74ff3879ac43dc123c6
MISC metadata.xml 552 SHA256 e86791dadf315a7a079e460854bcc4a28d7c69a93694efc85014b325824b81cf SHA512 bb4901b011b63137fb7e359ff657fbe8aa2bd7d36a78be397c163a0bd37486a32bddf4929ab5a2a3b7b7d52f3c2edd69ce18d4bb5e2f56b45d43bb59cb54f686 WHIRLPOOL 214e51279eed4230ed8cba15e42581213428ff06c32ad7832b17c1af6c2eae351a843aae51d78a99486b5bbfea2369faa4aaa4b99cae1ce7a41da5748d8e2211
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCAAGBQJSjG+pAAoJELEHsLL7fEFWAYAQAKfLsr8iAXe62dUMb9o6PyLr
-vyaXPL8o/RGiqed5pkTaruYsnGs7iwlTRW9SaAVya7vqnwLTabyiUU2xlX+x0eDB
-IxcdIoiggCJezkGNEv68D6AZ9qe+QA0EoLQrWIXWVSNfLMKWtpiq+V/MgPwnyCEl
-J7l3Yr/Vpc0Zw6xAfKCJl7EZ8Ys6gsjSeyGtTPajGDbHuX1h2CxvwRQHewp9kVNf
-jFK12SbIF0uRhaYw3tnqil9cPQHYzsiaw/xr9Usulkoh+GBICXiMlZFYAM/zZIwu
-w/E/HZKMlDjqdHoT8ICP7WRmzsDRc2YjzZe5xNZj/ghFqAddpC89A+NifSArRZvL
-WZZJmF/qy84wbMiF2/n5rJIRQpxKX5IEWGrX3IG+gbvBZOIY2gU4buAgaoPLbuG6
-sDJ98idTo/kSMtHpzNPvmWy/2II96XMsPuwNg2OFRQHOoOdXKEwK6E1jNAzarZqP
-d9WP3/+gjfqmMlYRJ9L8sin6TEekMgqRwgXQ6WIO+U+5Tbn/V0KJQM/M9/b1C8DU
-/NG8hKpXdxKIPoA8A9j4+m7dYtwZ3s50XpJguP0a2J3toPgsd5TmLXMfsla5VeS2
-8E9O/tsgT6SprbAMAS2h6F9pslZAQKTVtCx86zjQK3ARwvQntdfYiLrJzStETrn3
-Sc8BZY/h7MQ5dn9qzFtm
-=s1Jw
+iQIcBAEBCAAGBQJSpRcLAAoJELEHsLL7fEFWfOEQALB4UUm/lQ8wH9aMBHHt/Ddg
+Uzfjkpj3eNMbTDnqvDgy33gyhJDo8aSPTnQyD7X0+RVcdTJmnnz34Mzn6/BzyTcB
+a3KS04ghZng6afZiNXZDqwxY5cgIJLwskcgpYxOn50yGie50we/HjPzpQQE5+MfW
+3gBqfBwm9Mqq86A1Rl3+orU8DRCbtYHIK5tB+0eczcZMSYshYUDNbtGpCPS8wDVV
+vJDBawsXzScOmvQcGlrDl2hMRi+zFzyM1yuNVgOhnCeHYXdMJalEyw1NU7ecR7+j
+H+B974WLxp9mMDW+ZxAVrNrtUhxy8wD3qGskK4vulT5dsyX6Uwn/s83GBzHRePqa
+AClsjCWOHY5j5mZCMDpPukAhbSwF//8kLvB6CNbUejR0HfGR3C4wUa30ldt5x6l0
+cKoGvoyv2fzgwUXv6RQrBz5MvL7aOtxBdfkhvHHGumtoxn1yj/uZ3IktYI4N/10y
+AIoZ6EAdnI2Gy+9B5cJi0ijecdOAfbC5tCEZpgcCvr1QC9Yj0A4zzHjSH1j76VcQ
+3pbGCsKThyx0TcbLlqy8aeuQ/jIIMBkXdlCSHVCk+DFwaHUNUqlHRhx2RAnv0Qzn
+JYgmPvN95vsBgDT/ecBo8R2qG3R1a57CFBuXZhIRXK3YE25WBPzCNGAL5oVlsE8D
+iFO04AFZlCnJvCJ5TyRr
+=qpfr
-----END PGP SIGNATURE-----
diff --git a/sys-devel/gdb/gdb-7.6.2.ebuild b/sys-devel/gdb/gdb-7.6.2.ebuild
new file mode 100644
index 000000000000..efcd5011b8ab
--- /dev/null
+++ b/sys-devel/gdb/gdb-7.6.2.ebuild
@@ -0,0 +1,197 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-7.6.2.ebuild,v 1.1 2013/12/09 01:04:05 vapier Exp $
+
+EAPI="3"
+
+inherit flag-o-matic eutils
+
+export CTARGET=${CTARGET:-${CHOST}}
+if [[ ${CTARGET} == ${CHOST} ]] ; then
+ if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
+ export CTARGET=${CATEGORY/cross-}
+ fi
+fi
+is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
+
+RPM=
+MY_PV=${PV}
+case ${PV} in
+*.*.*.*.*.*)
+ # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm
+ inherit versionator rpm
+ gvcr() { get_version_component_range "$@"; }
+ MY_PV=$(gvcr 1-4)
+ RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm"
+ SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}"
+ ;;
+*.*.50.*)
+ # weekly snapshots
+ SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2"
+ ;;
+9999*)
+ # live git tree
+ EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git"
+ inherit git-2
+ SRC_URI=""
+ ;;
+*)
+ # Normal upstream release
+ SRC_URI="mirror://gnu/gdb/${P}.tar.bz2
+ ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2"
+ ;;
+esac
+
+PATCH_VER="1"
+DESCRIPTION="GNU debugger"
+HOMEPAGE="http://sourceware.org/gdb/"
+SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+if [[ ${PV} != 9999* ]] ; then
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+fi
+IUSE="+client expat multitarget nls +python +server test vanilla zlib"
+
+RDEPEND="!dev-util/gdbserver
+ >=sys-libs/ncurses-5.2-r2
+ sys-libs/readline
+ expat? ( dev-libs/expat )
+ python? ( =dev-lang/python-2* )
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ virtual/yacc
+ test? ( dev-util/dejagnu )
+ nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${PN}-${MY_PV}
+
+src_prepare() {
+ [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec
+ use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch
+ strip-linguas -u bfd/po opcodes/po
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ # make sure we have a python-config that matches our install,
+ # such that the python check doesn't fail just because the
+ # gdb-provided copy isn't quite what our python installed
+ # version is
+ rm -f "${S}"/gdb/python/python-config.py || die
+ pushd "${S}"/gdb/python > /dev/null || die
+ ln -s "${EROOT}"/usr/bin/$(eselect python show --python2)-config \
+ python-config.py || die
+ popd > /dev/null || die
+ fi
+}
+
+gdb_branding() {
+ printf "Gentoo ${PV} "
+ if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then
+ printf "p${PATCH_VER}"
+ else
+ printf "vanilla"
+ fi
+}
+
+src_configure() {
+ strip-unsupported-flags
+
+ local sysroot="${EPREFIX}"/usr/${CTARGET}
+ local myconf=(
+ --with-pkgversion="$(gdb_branding)"
+ --with-bugurl='http://bugs.gentoo.org/'
+ --disable-werror
+ $(is_cross && echo \
+ --with-sysroot="${sysroot}" \
+ --includedir="${sysroot}/usr/include")
+ )
+
+ if use server && ! use client ; then
+ # just configure+build in the gdbserver subdir to speed things up
+ cd gdb/gdbserver
+ myconf+=( --program-transform-name='' )
+ else
+ # gdbserver only works for native targets (CHOST==CTARGET).
+ # it also doesn't support all targets, so rather than duplicate
+ # the target list (which changes between versions), use the
+ # "auto" value when things are turned on.
+ is_cross \
+ && myconf+=( --disable-gdbserver ) \
+ || myconf+=( $(use_enable server gdbserver auto) )
+ fi
+
+ if ! ( use server && ! use client ) ; then
+ # if we are configuring in the top level, then use all
+ # the additional global options
+ myconf+=(
+ --enable-64-bit-bfd
+ --disable-install-libbfd
+ --disable-install-libiberty
+ --with-system-readline
+ --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug
+ $(use_with expat)
+ $(use_enable nls)
+ $(use multitarget && echo --enable-targets=all)
+ $(use_with python python "${EPREFIX}/usr/bin/python2")
+ $(use_with zlib)
+ )
+ fi
+
+ econf "${myconf[@]}"
+}
+
+src_test() {
+ emake check || ewarn "tests failed"
+}
+
+src_install() {
+ use server && ! use client && cd gdb/gdbserver
+ emake DESTDIR="${D}" install || die
+ use client && { find "${ED}"/usr -name libiberty.a -delete || die ; }
+ cd "${S}"
+
+ # Don't install docs when building a cross-gdb
+ if [[ ${CTARGET} != ${CHOST} ]] ; then
+ rm -r "${ED}"/usr/share
+ return 0
+ fi
+ # Install it by hand for now:
+ # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html
+ # Only install if it exists due to the twisted behavior (see
+ # notes in src_configure above).
+ [[ -e gdb/gdbserver/gdbreplay ]] && { dobin gdb/gdbserver/gdbreplay || die ; }
+
+ dodoc README
+ if use client ; then
+ docinto gdb
+ dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \
+ gdb/NEWS gdb/ChangeLog gdb/PROBLEMS
+ fi
+ docinto sim
+ dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING}
+ if use server ; then
+ docinto gdbserver
+ dodoc gdb/gdbserver/{ChangeLog,README}
+ fi
+
+ if [[ -n ${PATCH_VER} ]] ; then
+ dodoc "${WORKDIR}"/extra/gdbinit.sample
+ fi
+
+ # Remove shared info pages
+ rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info*
+}
+
+pkg_postinst() {
+ # portage sucks and doesnt unmerge files in /etc
+ rm -vf "${EROOT}"/etc/skel/.gdbinit
+
+ if use prefix && [[ ${CHOST} == *-darwin* ]] ; then
+ ewarn "gdb is unable to get a mach task port when installed by Prefix"
+ ewarn "Portage, unprivileged. To make gdb fully functional you'll"
+ ewarn "have to perform the following steps:"
+ ewarn " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb"
+ ewarn " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb"
+ fi
+}
diff --git a/sys-devel/gdb/gdb-9999.ebuild b/sys-devel/gdb/gdb-9999.ebuild
index 56ca1637611b..fc7a49796be9 100644
--- a/sys-devel/gdb/gdb-9999.ebuild
+++ b/sys-devel/gdb/gdb-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-9999.ebuild,v 1.15 2013/11/20 08:15:35 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-9999.ebuild,v 1.16 2013/12/09 01:04:05 vapier Exp $
EAPI="3"
@@ -50,7 +50,7 @@ SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.x
LICENSE="GPL-2 LGPL-2"
SLOT="0"
if [[ ${PV} != 9999* ]] ; then
- KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
IUSE="+client expat multitarget nls +python +server test vanilla zlib"