diff options
author | Fabian Groffen <grobian@gentoo.org> | 2009-09-24 18:50:27 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2009-09-24 18:50:27 +0000 |
commit | 3303442c22b7d4296b22af7c686466bb14a6b87e (patch) | |
tree | 09a287fbe7d8abade955ff2452916d81b94e527e /sys-devel | |
parent | arm stable (diff) | |
download | historical-3303442c22b7d4296b22af7c686466bb14a6b87e.tar.gz historical-3303442c22b7d4296b22af7c686466bb14a6b87e.tar.bz2 historical-3303442c22b7d4296b22af7c686466bb14a6b87e.zip |
Bump to version from Xcode Developer Tools 3.2, thanks Heiko Przybyl in bug #286285
Package-Manager: portage-2.2.00.14411-prefix/cvs/Darwin powerpc
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/gdb-apple/ChangeLog | 8 | ||||
-rw-r--r-- | sys-devel/gdb-apple/Manifest | 4 | ||||
-rw-r--r-- | sys-devel/gdb-apple/gdb-apple-1344.ebuild | 64 |
3 files changed, 74 insertions, 2 deletions
diff --git a/sys-devel/gdb-apple/ChangeLog b/sys-devel/gdb-apple/ChangeLog index 6195024c0b33..15923d074057 100644 --- a/sys-devel/gdb-apple/ChangeLog +++ b/sys-devel/gdb-apple/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-devel/gdb-apple # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb-apple/ChangeLog,v 1.2 2009/06/24 09:40:20 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb-apple/ChangeLog,v 1.3 2009/09/24 18:50:27 grobian Exp $ + +*gdb-apple-1344 (24 Sep 2009) + + 24 Sep 2009; Fabian Groffen <grobian@gentoo.org> +gdb-apple-1344.ebuild: + Bump to version from Xcode Developer Tools 3.2, thanks Heiko Przybyl in + bug #286285 24 Jun 2009; Fabian Groffen <grobian@gentoo.org> +files/gdb-apple-962-darwin64.patch, +files/gdb-apple-962-demangle.patch, diff --git a/sys-devel/gdb-apple/Manifest b/sys-devel/gdb-apple/Manifest index 1620bdd11b85..77f155e51408 100644 --- a/sys-devel/gdb-apple/Manifest +++ b/sys-devel/gdb-apple/Manifest @@ -5,15 +5,17 @@ AUX gdb-apple-768-texinfo.patch 487 RMD160 8fc4c9da8b4d984ad11dcd496e2c2a0f17382 AUX gdb-apple-962-darwin64.patch 580 RMD160 61024ddbe6a70a70ec4082578e3991bc25112473 SHA1 7f6a65a156e34cb39222bb2b6f719444e7c99262 SHA256 016259650cd60b24b4bc39b890f7adec7a0a7c2f028dcc8fae8114d0f36a8676 AUX gdb-apple-962-darwin8.patch 402 RMD160 240ee95585a819ec0b10147a55a3a053713db77a SHA1 14976942fcbac5a1c326a26da3768d77442e83aa SHA256 885453cb8ea7e39bc5da479ce046e96e113eb150af220b7d61d8f50ebf29d2d6 AUX gdb-apple-962-demangle.patch 708 RMD160 265da82c589bc321c7d38680db05b1af174d2277 SHA1 d9f614d7282d3c8cd9b019e76506be2c75c2d0f1 SHA256 35d10612776db1cae9aca99ba72973ab1c6629dd6a9f1d16f1ec8322684c26ab +DIST gdb-1344.tar.gz 17916770 RMD160 9e21209fe0243a9011e636c7c3b1a80f74cf90f2 SHA1 8287721341456523405c831ec9d83e539f1d8f06 SHA256 96c37c4bd4e8446e7f22411ca3972ccb240e5cfc256fe0593b012f12fdbcb7a1 DIST gdb-563.tar.gz 17130626 RMD160 cbefa5b829e4e70685cf77c9a0e2171f243cc463 SHA1 913f19713a1bc5de4f96ee2920314e7caad31ac5 SHA256 a41177e2edbac8982e01ca01dbd52bef65bd1604fb3a65278dd0f44509bb7179 DIST gdb-768.tar.gz 17727326 RMD160 b61164d22e9e9b4f9f0ee2bb20129e8e06531b04 SHA1 adeffd19caf9270a9a297633f716e6485ebc8536 SHA256 2342cbbf7c57dcc08011736c9823d5ca374156666ba73c4b67d9984ed944f24d DIST gdb-960.tar.gz 17875803 RMD160 d14638dfda8578110d9525723344665f816d73b1 SHA1 ec4afa508ae451b07c9e1307a2b8eb6212102c46 SHA256 921cb5317b934008bd5f7669cca811a0377c40b779277e9326198f4919f22d97 DIST gdb-962.tar.gz 17876280 RMD160 53380455ed7c91c4564091f1564926a76ccd4840 SHA1 f5f353a3f9345f1be98e2cc59905972222ec8b0d SHA256 b0b98aaf864797c6ffeab61b8a3d2b05d544d872969245825e257aa421f30700 DIST gdb-966.tar.gz 17769429 RMD160 427db15223ea2cf09d1d77d9bf80a3fc7bb952be SHA1 0391e88d14e52446c68140d8f05b5cbc01ae17f4 SHA256 fc51d13dd4153e4ac6140fa5199699dc26387189fb0e37277bb50944410a445f +EBUILD gdb-apple-1344.ebuild 1683 RMD160 38795c1231493ea3e00bd75734cd5a1248e754d8 SHA1 064bf3fa1cef88a25a4f68b8ea80416b37d3119c SHA256 14229f017f9e01299fb8d7cf0afbb54d8f1ca0388d4b16ec7b7a04495610271e EBUILD gdb-apple-563.ebuild 1293 RMD160 b1cf11a36467a15f4a2e678b4305ab4ae6e2f31a SHA1 c730696ecb9d037115721c1ae86388855e94d2d5 SHA256 e1707014e4707b44eb807c83ad2b4ac9cd2e36df0899ce8668b0862ff06efac5 EBUILD gdb-apple-768-r1.ebuild 1248 RMD160 0f09bb596e016555859a09c7091c33fd86cd2d47 SHA1 4bca6a981d813bff36a3f418a6a43ae35117a7bb SHA256 d76b6e6ea60974ff2b3dd042d3b57a63eb0698bcfef7bd09dc8c7cdc14b17394 EBUILD gdb-apple-960.ebuild 1264 RMD160 2e5877f8a82d494f81ecf46c64fb5fe281d401e7 SHA1 2be3cdaeca9dd20b414f69629448d1470a7339c1 SHA256 10940ebacb156c4605f6eef99bf9541188844e6e9ba9b43f7944b150901f8879 EBUILD gdb-apple-962.ebuild 1765 RMD160 32fb507d0cea5862861e90f2e8d15b8a45756456 SHA1 e252ef4574028def6e7c961b919375582af2a45a SHA256 ceea12219b307fee6a2445907f33ccc8588297b4691eca9119f8fda14c35d8a8 EBUILD gdb-apple-966.ebuild 1874 RMD160 b69ea9fea80227c109febf44903ba59b26499e65 SHA1 c0553e94c19caff2ced1b9700e92561037955825 SHA256 9ef36a6af183525b60c2d9e1b9ad37393065adced3b26eac3431c0d5671ff265 -MISC ChangeLog 2492 RMD160 d52ee448fab35db06a49402377207d0a900e6fba SHA1 12c9bfe1bde2f42a28fb39e82874eee0b62bd9a7 SHA256 6b3edc4c0cf97d8a06e56df48e9118af602af401013890581d34f50422cc4776 +MISC ChangeLog 2687 RMD160 ed689de4943a152e166f842cb5f01754f9820c92 SHA1 5c0c36044268c30746d0e73a2cbae69e4b2d359a SHA256 4dcf4968b6e0dbc7e0252be3eb7888b60afad815ca581949e1637cdfceac82ca MISC metadata.xml 160 RMD160 baab82f4bc435813cfde4796d42840882a9a4f8f SHA1 144e248704973cfad031c92a930aad01a62a2fda SHA256 27667dd7db1d188c12342624ec5ff2155717821d646e442aef9a691c65539ac4 diff --git a/sys-devel/gdb-apple/gdb-apple-1344.ebuild b/sys-devel/gdb-apple/gdb-apple-1344.ebuild new file mode 100644 index 000000000000..e3d716d31b19 --- /dev/null +++ b/sys-devel/gdb-apple/gdb-apple-1344.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb-apple/gdb-apple-1344.ebuild,v 1.1 2009/09/24 18:50:27 grobian Exp $ + +inherit eutils flag-o-matic + +DESCRIPTION="Apple branch of the GNU Debugger, Developer Tools 3.2" +HOMEPAGE="http://sources.redhat.com/gdb/" +SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/gdb-${PV}.tar.gz" + +LICENSE="APSL-2 GPL-2" +SLOT="0" + +KEYWORDS="~ppc-macos ~x64-macos ~x86-macos" + +IUSE="nls" + +RDEPEND=">=sys-libs/ncurses-5.2-r2 + =dev-db/sqlite-3*" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +S=${WORKDIR}/gdb-${PV}/src + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${PN}-768-texinfo.patch + + # for FSF gcc / gcc-apple:42 + sed -e 's/-Wno-long-double//' -i gdb/config/*/macosx.mh +} + +src_compile() { + replace-flags -O? -O2 + econf \ + --disable-werror \ + $(use_enable nls) \ + || die + emake || die +} + +src_install() { + local ED=${ED-${D}} + + emake DESTDIR="${D}" libdir=/nukeme includedir=/nukeme install || die + rm -R "${D}"/nukeme || die + rm -Rf "${ED}"/usr/${CHOST} || die + mv "${ED}"/usr/bin/gdb ${ED}/ + rm -f "${ED}"/usr/bin/* + mv "${ED}"/gdb "${ED}"/usr/bin/ +} + +pkg_postinst() { + if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -ge 9 ]] ; then + ewarn "Due to increased security measures in 10.5 and up, gdb is" + ewarn "not able 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 +} |