summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-02-15 09:22:57 +0000
committerMike Frysinger <vapier@gentoo.org>2015-02-15 09:22:57 +0000
commitee55913a18265094dd8eeb0bd985f1493d29c453 (patch)
tree7bbf14058ea59f38e32cdc869a4d5d0c84f64bba /sys-devel
parentrevbump; convert -> distutils-r1, restrict test phase (see comments), rm old (diff)
downloadhistorical-ee55913a18265094dd8eeb0bd985f1493d29c453.tar.gz
historical-ee55913a18265094dd8eeb0bd985f1493d29c453.tar.bz2
historical-ee55913a18265094dd8eeb0bd985f1493d29c453.zip
Version bump.
Package-Manager: portage-2.2.15/cvs/Linux x86_64 Manifest-Sign-Key: 0xD2E96200
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gdb/ChangeLog7
-rw-r--r--sys-devel/gdb/Manifest30
-rw-r--r--sys-devel/gdb/gdb-7.8.2.ebuild214
3 files changed, 236 insertions, 15 deletions
diff --git a/sys-devel/gdb/ChangeLog b/sys-devel/gdb/ChangeLog
index fe7efbc05f72..e18690164545 100644
--- a/sys-devel/gdb/ChangeLog
+++ b/sys-devel/gdb/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-devel/gdb
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.285 2015/02/13 21:51:02 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.286 2015/02/15 09:22:55 vapier Exp $
+
+*gdb-7.8.2 (15 Feb 2015)
+
+ 15 Feb 2015; Mike Frysinger <vapier@gentoo.org> +gdb-7.8.2.ebuild:
+ Version bump.
13 Feb 2015; Mike Frysinger <vapier@gentoo.org> gdb-7.8.1.ebuild,
gdb-9999.ebuild:
diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest
index 846b66a6f90f..1e0918c40991 100644
--- a/sys-devel/gdb/Manifest
+++ b/sys-devel/gdb/Manifest
@@ -38,6 +38,7 @@ DIST gdb-7.7.1-patches-1.tar.xz 8600 SHA256 336cdcb2c90da0ca970dc21dc0285a8cb1fb
DIST gdb-7.7.1.tar.bz2 24849503 SHA256 0dbd5260406f1b0c70fcf027c6488527fadde0cd9bb574593491fe076eb03aa5 SHA512 887b9b726dae8f6e3e5e41574460a67e4f9002b0d47bc985dcf63bdf3518397a90b6a208cb5b19e5ed2341715ad75cfeed4df4fb423f39f74218e36bc87f1cab WHIRLPOOL 3b726d5f519167105248eb3a400be0d9bc70f72dbce9a04aa56a765b6c2ed9fc00a7c2e6ec72d0372f87bada1d74a40fc998c10a5322e2f3b5c8ea53c7ba6aa4
DIST gdb-7.7.tar.bz2 24846320 SHA256 0404d1c6ee6b3ddd811722b5197944758d37b4591c216030effbac204f5a6c23 SHA512 42c8d312c0ca1042d1df7e115c541abc7453c20813b3f4f1fe52c62bc04b85d9116539d245e6404fa556260ba13f78f9a2ac35424eb7fd8ef9954cdbfc9581e0 WHIRLPOOL 8f1610e7f2023a5f273c15cdca6da40e22527d61f694e841c55c696d14e55d6abc3aa4144ffb995fe78448e69c50ea7ac9854aaab1ef2e2b8d551b975d35e8b7
DIST gdb-7.8.1.tar.xz 17669136 SHA256 497722b58386f4428c3474281eb3ef1c872404998b6ace907edb3bba1fabdc35 SHA512 c40775e727a665300b45ec5d375424565671768cb73eee6793285a5b9a29db66072fc55d56bc1b4189cd38e0590573554e283661e4fbec23e4ad3d5b90542a87 WHIRLPOOL 845988be5a667eae2ca2f433399d51af3bf8219a692385477f6f7f37bae000a017f39db271f28cf101a0b92eb4b48fe79c7edd1da1b84a83f3a612e49b96e265
+DIST gdb-7.8.2.tar.xz 17678568 SHA256 605954d5747d5f08ea4b7f48e958d1ebbf39265e18f7f36738deeabb83744485 SHA512 face5bf1b4ce144fc8604fc84620beed956177a11fd632b4e41906fc7f632910b2b43a50e6cfdfd6cbd876ee527c813bddab8df29dc560a6c36694cdb8edc4e4 WHIRLPOOL b0e5adc8e98c8363c25b86a8f47d07863a97f215c74b4fe2fcce4e72ce82867bafea60cb51d26f3814e895a93e047ca962b19fb2557e9c74a0ab3d88b1e6ee1d
DIST gdb-7.8.tar.xz 17664316 SHA256 49c4abe174f79f54e1f9e75210ffb590d9b497d5b5200b5398c0e073a4ecb875 SHA512 e3977393c3a9bc2860d845928f457f4696a87106ccf30569cb69a82893deeab9b05fd1cffa4316cc5cfdfd3ad11a2d5660ed07a9965fa3d696a0ec604702557f WHIRLPOOL fb97f1fbee170fccf462d25fd6b4a218a8126b75465b59e21322ff2cacf2707d6b037d593663a4f52ae293c72d012a69a65377ee6827de18da80159c829b672d
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
@@ -60,24 +61,25 @@ EBUILD gdb-7.6.ebuild 5297 SHA256 a83e2c2c59000facce5e3871e886b36a4bff1a3e743c05
EBUILD gdb-7.7-r1.ebuild 5650 SHA256 87bd20c8551b90c06ead6d603f2bfba6edb6fc3a15030c3784b94fff34d20715 SHA512 9ec77f5ede4b81edc329d9da814904b47c2b13ce76bc920b7d42232e4d59e64a1bd5e1a90f07c2db2068b00416bcff4f099c7a1ce67d9db90c62a29c57e7256e WHIRLPOOL cb4f5053c7b9b3c3dc73b2d2f363a12e6e36e9981f32bf7d59ccf37f66bdf7f5c0e048ee41c443fd55a3f17f5f99c8e1a9744c5522a55b8ed4131523169ccb5b
EBUILD gdb-7.7.1.ebuild 6069 SHA256 a20782cd898cf59091131fb655ff646f0fc7ebc4fbb2a55a305c0c3ffb043446 SHA512 b48503dd5f3117fd92276c53c79a4b305f27226b46d21f6549b5092964dc967953b494d58f67239bec7aaffe7cf782c64972dc67845f2d6d16e46abde218de2c WHIRLPOOL 20df4834c116e8ee4fdf0848acb370e7a46393ddff2e3995f87ac95d106fdbab1ecc745cd12651d74ca3fb38d337be2321dd77f30500e1d7682ffd0c78e50fbd
EBUILD gdb-7.8.1.ebuild 5947 SHA256 b991d8af1b7803f1ec71f2e41aecc62b352eef8a2edb5cad521634fb4cacb98b SHA512 831f8c1bdcdb1290c3867d16310115f0eb95ae0e911e3deac0b842854d9652a70b6400174f018fb0343b3fc46b3ab3a7117108ce6fcb9315d566d9f192eb2d61 WHIRLPOOL ae5c462f9ba2e6fc710d74bee7b9557069787ad056dc6437d0f46ef62d06c5b8ffe7828caf6893190fa0eda87dd32d32878c0c7a023303c66d823c8a1784bc1d
+EBUILD gdb-7.8.2.ebuild 5947 SHA256 162baf4b172ac2cf22d39c14f07c759fa5c7bc5fce85145fc4b471911a563b2f SHA512 1a6bbce88d7aa90dd0ddd0788e33f844831d2b6b9e1d9885d8098035e4daa4ba252eb0f12289693bc5f85c336af716e9ab33f269823bf6fe5595e1e8bc08e639 WHIRLPOOL 8611d635eab5e1a9eb6ed91114315d1ad9abe2f56f291376b5aa631da2367e8a86c44ea1fe1c5692576a068c8fef0264dd3f22af5b6b957b1d9e1e8bf690ed49
EBUILD gdb-7.8.ebuild 5871 SHA256 e05ac4e3f2fe7088514bf2bba8a52f35c7c3fb61345d3b70913f66b98f1cd812 SHA512 94e58798fbed3c261297961bbc79b5220c2d8cbe0b936d09f9803a389890ded0c76b5bf27439b6d82efed86efaa4f8fc0f7d8c680cfc2bf8bb558f238677ef11 WHIRLPOOL e04c44d06f39d252d17b67ed2a68a79a88a3d6f11d08e5cb82140abd6e4526b2df9b88f8a6088148861b1e1ca5c9dbccf469c7ce312142a5739d592a8c59e4d3
EBUILD gdb-9999.ebuild 5947 SHA256 80fe104b1ecfc91db75043789816e53f53ceb3332fb9d050544c5f9987beceaa SHA512 77ddd9324feaa2596e7b63054655456b3ca32e56d6975b399009f301e956274221471cf0b3f795793f1c62262b0cd6dfbc7ee475a6b8853511cf970e435b5959 WHIRLPOOL 8208573ae2cc0cab012995a995caf13299ddd06979bcf4794715953c8f0689c8557f43462851a84ff5b14fcfea324a23e3c18df62f6e5a2f50b932a77ec1ad61
-MISC ChangeLog 37631 SHA256 b085aa908a24eab4b838fca7a26818e25f3cb0864746ccd3ca79e7ced3e61f11 SHA512 de108698796a1db3624a1a3c0fd1058b168eefa5dff59aefa7d51e7f1833bc441c6e267334cec1693e0c9fe3b3a9c26a27780870de5ee32469493efbd9d7ee91 WHIRLPOOL fb93c97dc8d81535492aae93b30776c972639cfa03495d176b37b4e3f62097df8548034dd7f4b913dad4c0d2fae4519ec5fda76ec7f1ac65a34ef2dca0f999c3
+MISC ChangeLog 37743 SHA256 26b5a716c77d0fa3108187a2a00970b39daf6a25bbc3da7aef2392350e11145d SHA512 8c5ba0c3ed3db0cc42644e78aeffead59da6114ad5e818637726e67381c1fd7a843d9e7248f9094599c323efa9fd0a3e7e1e7ec9e1d203a85b70f83bf5b6d120 WHIRLPOOL f7297528114cbb4291a715550b57fe1a5ac9f0613ec81ee6b2dae0511fb20014904cc9873c80e4650d14e4d7abb53dfa327c1c1c998200fcfdda9c49dbe805c6
MISC metadata.xml 694 SHA256 32f59a7ff4c58911e613a5cafeb79fa23d4cced2be2553ddd0eb6395f2853d21 SHA512 521fa566e1dcaaf5c363edf0643e9bbd9374559d01be24875451163bf4b72ec44341b5c390730727950d3af38782850c203da55248e22153d713e34eeed1a07e WHIRLPOOL 76a4ae0a5fb0efa769fb676b21c13fae274775a0bee3f95281e0f9df46d67652e2afe2e3ed1da88e64d3f39d77fb89c7fcf3c19535b6ce90290ff8d01b06ec5f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQIcBAEBCAAGBQJU3nHHAAoJEPGu1DbS6WIArF4P/2qzVzVRtx/PQTT1XrBI9ZY3
-JVrEWuLA192aCxPV3ZCo8X6Qr0XuudvzSVMeLF0OOJd+3MQ27zHaqn1Y6sD8Y/Xz
-67h1L0MeYoRPFUR6F95k5CCbqY6kR6RMz2zE+64YvuDhpF8Przs6ZaYwVqvu+IfB
-5nVCsTc34L4pjyCFuD9aoy8U2Ol1DdIPJqgKhSF9C0P6Q82ROuHzNhFdcwizU5dg
-UWKWIkC58ptvavY3Fwh7n8tSsjIADYSgOxImSTjnk9eqbosH/W7MN81CollqWmpS
-4VsPiYloBkoq5aushD0ROzag+ppKz3McHGsx+alGfYOdrQ59afg21YJAsJb8urQd
-okD8tSTy/uNzvIqh3/ljs7woXJadPhwqYhl2xlgiUIEzZCuetBgXkmhRKVbuOrQy
-+XK0LTLRWxJZiCbiRhGISCgO31Y4N1V7DFvw7OXVJMU92tZ3pNbSKlKqZJbCRosW
-p7KsaYVuBg6CPqToOUOZbHLyNXaSDlq0GYHENnUqqH5Rb7FipV4FGcjTeYpl+Cxt
-Lrvg1yT/z/YOzAyVo+dFqbGvBM65L+Xs7mH/dOZ9BJ8cuWtvwCd2Qv2OgcY5Whc3
-IRpu10Eizac6FDqPHAvb/AR0I2EWD1cg5cORfC+NtISE2/qtRDvAxn3DrHlHcUJE
-rfddE6i4PobX9dXaJ+my
-=8fAO
+iQIcBAEBCAAGBQJU4GVwAAoJEPGu1DbS6WIAVPoQAIkRJvCu4cGeSR9hn8hc7tfT
+S9KsQ+XXpd4Te6kxt6JHwXBn01HzGTYsLEHNM5p6jAJjASnuzW4jKe6B5pn+sWKu
+TygWpCWKS0qXfff/YMGfXZc1ic73CUSwbP6b1DOSf2jyznfl0HXiVbBSNWmDQ9Ev
+GoEpW/+vg85gGv7OvLzvfcaUsh4gCoqFfCfLvEU/PfmcPtnmOJzaf/HXEmRCjIw4
+sx0/Y6nXbj/J5FGVpM2V8PH4V5V49ZFe7U9eYpwqZRXtxswChV2RKMl7+lmRI9Wm
+8D/BYcc5zInZ1spiw97KTjCJN/880McbrH699fBjZzahm15VpuQ388j09UunekVv
+i1H7yvEE/ZjqrKnOrVLGd4c0uibyMJe2tZrZLmu7cdieQRE5oo3WH4zyXnQ/n6RY
+Ey1p63Td/euMlNeRFhSqbpxp0NREBtgyz2riiSaTsdoFDKy5ZrzA8AvLc7vdTvhM
+CbRr2AZbrdA+N7aVd4JcFa7cn0d2gDekN6c3D2Kx96sFK9qCTYQGZeoTa+vQgDKf
+OOokkHTSwr5JE+eoJ+iQQoJQBnvb2oB5udANyo4j2cW6vgq8UlknNbs911nQB1gZ
+j5UjuMxJBwFdRUakyrwMJzhlJ2MumCQdpHznfTOqoxQhHo5wA5oyi+cguaPb1uNj
+pPavHNhzd6V+boFB1/6L
+=mklY
-----END PGP SIGNATURE-----
diff --git a/sys-devel/gdb/gdb-7.8.2.ebuild b/sys-devel/gdb/gdb-7.8.2.ebuild
new file mode 100644
index 000000000000..fea368399a13
--- /dev/null
+++ b/sys-devel/gdb/gdb-7.8.2.ebuild
@@ -0,0 +1,214 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-7.8.2.ebuild,v 1.1 2015/02/15 09:22:55 vapier Exp $
+
+EAPI="4"
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+inherit flag-o-matic eutils python-single-r1
+
+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.xz
+ ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz"
+ ;;
+esac
+
+PATCH_VER=""
+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 ~arm64 ~hppa ~ia64 ~m68k ~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 lzma multitarget nls +python +server test vanilla zlib"
+REQUIRED_USE="
+ python? ( ${PYTHON_REQUIRED_USE} )
+ || ( client server )
+"
+
+RDEPEND="server? ( !dev-util/gdbserver )
+ client? (
+ >=sys-libs/ncurses-5.2-r2
+ sys-libs/readline
+ expat? ( dev-libs/expat )
+ lzma? ( app-arch/xz-utils )
+ python? ( ${PYTHON_DEPS} )
+ zlib? ( sys-libs/zlib )
+ )"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ client? (
+ virtual/yacc
+ test? ( dev-util/dejagnu )
+ nls? ( sys-devel/gettext )
+ )"
+
+S=${WORKDIR}/${PN}-${MY_PV}
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec
+ use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch
+ epatch_user
+ strip-linguas -u bfd/po opcodes/po
+}
+
+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 myconf=(
+ --with-pkgversion="$(gdb_branding)"
+ --with-bugurl='http://bugs.gentoo.org/'
+ --disable-werror
+ # Disable modules that are in a combined binutils/gdb tree. #490566
+ --disable-{binutils,etc,gas,gold,gprof,ld}
+ )
+ local sysroot="${EPREFIX}/usr/${CTARGET}"
+ is_cross && myconf+=(
+ --with-sysroot="${sysroot}"
+ --includedir="${sysroot}/usr/include"
+ --with-gdb-datadir="\${datadir}/gdb/${CTARGET}"
+ )
+
+ 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
+ # This only disables building in the readline subdir.
+ # For gdb itself, it'll use the system version.
+ --disable-readline
+ --with-system-readline
+ --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug
+ $(use_with expat)
+ $(use_with lzma)
+ $(use_enable nls)
+ $(use multitarget && echo --enable-targets=all)
+ $(use_with python python "${EPYTHON}")
+ $(use_with zlib)
+ )
+ fi
+
+ econf "${myconf[@]}"
+}
+
+src_test() {
+ nonfatal emake check || ewarn "tests failed"
+}
+
+src_install() {
+ use server && ! use client && cd gdb/gdbserver
+ default
+ use client && find "${ED}"/usr -name libiberty.a -delete
+ cd "${S}"
+
+ # Don't install docs when building a cross-gdb
+ if [[ ${CTARGET} != ${CHOST} ]] ; then
+ rm -r "${ED}"/usr/share/{doc,info,locale}
+ local f
+ for f in "${ED}"/usr/share/man/*/* ; do
+ if [[ ${f##*/} != ${CTARGET}-* ]] ; then
+ mv "${f}" "${f%/*}/${CTARGET}-${f##*/}" || die
+ fi
+ done
+ 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
+
+ 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
+}