diff options
author | Fabian Groffen <grobian@gentoo.org> | 2011-09-03 14:30:33 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2011-09-03 14:30:33 +0000 |
commit | 85faf2d9cca4861a8881af25f456e50d366c1b36 (patch) | |
tree | 2c7e35966a6e61cb73ef84864fccb842aa3d81b6 /sys-devel/gdb-apple | |
parent | arm/ia64/s390/sh/sparc/x86 stable wrt #380475 (diff) | |
download | historical-85faf2d9cca4861a8881af25f456e50d366c1b36.tar.gz historical-85faf2d9cca4861a8881af25f456e50d366c1b36.tar.bz2 historical-85faf2d9cca4861a8881af25f456e50d366c1b36.zip |
Version bump to version from Developer Tools 4.1
Package-Manager: portage-2.2.01.19120-prefix/cvs/Darwin i386
Diffstat (limited to 'sys-devel/gdb-apple')
-rw-r--r-- | sys-devel/gdb-apple/ChangeLog | 7 | ||||
-rw-r--r-- | sys-devel/gdb-apple/Manifest | 12 | ||||
-rw-r--r-- | sys-devel/gdb-apple/gdb-apple-1705.ebuild | 67 |
3 files changed, 80 insertions, 6 deletions
diff --git a/sys-devel/gdb-apple/ChangeLog b/sys-devel/gdb-apple/ChangeLog index bc7233def036..91bff06b936c 100644 --- a/sys-devel/gdb-apple/ChangeLog +++ b/sys-devel/gdb-apple/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-devel/gdb-apple # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb-apple/ChangeLog,v 1.12 2011/07/12 05:49:45 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb-apple/ChangeLog,v 1.13 2011/09/03 14:30:33 grobian Exp $ + +*gdb-apple-1705 (03 Sep 2011) + + 03 Sep 2011; Fabian Groffen <grobian@gentoo.org> +gdb-apple-1705.ebuild: + Version bump to version from Developer Tools 4.1 12 Jul 2011; Fabian Groffen <grobian@gentoo.org> files/gdb-apple-1518-darwin8-9.patch, files/gdb-apple-1518-darwin8.patch: diff --git a/sys-devel/gdb-apple/Manifest b/sys-devel/gdb-apple/Manifest index 9366541c1116..c78cdbce487e 100644 --- a/sys-devel/gdb-apple/Manifest +++ b/sys-devel/gdb-apple/Manifest @@ -19,6 +19,7 @@ DIST gdb-1344.tar.gz 17916770 RMD160 9e21209fe0243a9011e636c7c3b1a80f74cf90f2 SH DIST gdb-1346.tar.gz 17913352 RMD160 c197c1958e0f7b1e714d02719f6c03cd9aaad36c SHA1 b32be464a1af1c5ab740ca6f9ce6361000ff6e89 SHA256 1bda1693366e052150ce680d80a81df70cb8e61fe29fb3f9f3556e52ae141387 DIST gdb-1461.2.tar.gz 17951571 RMD160 808c4ec8c07de0fcf791bf1dd210e46ff9ea1236 SHA1 32ad338b729b69a7933ec332e64de4946af7e603 SHA256 91d8cdbcd9cf36377d9c2d425921141085b5c79a6dce312a3dc0b6960f8e02f9 DIST gdb-1518.tar.gz 17966113 RMD160 723dccbca46ef336a36ab2576b2aa0ec56baacd4 SHA1 0e331fba34e1646b4c795d0d9f4c3c8612c5bd48 SHA256 c3050f0be9cb60d86ffc5fd174da78bf986511a442526ef8b0eec1e77161f607 +DIST gdb-1705.tar.gz 17919005 RMD160 d1751fe48d0fe2e45fea1e5b99b183e4efb23053 SHA1 86730d3453a0efd1652b775a1c3a80899e6279e0 SHA256 f0c4c145f2ef795c4742e0cd8b3f6a95f06c9985eee04a82260b62bdd8293d37 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 @@ -28,17 +29,18 @@ EBUILD gdb-apple-1344.ebuild 1713 RMD160 4f3d50531ffabd7cedee9f2f390ea52c8a30b07 EBUILD gdb-apple-1346.ebuild 1715 RMD160 bd0935e7e4475825e08dbd4fa9dbd2a8e897de29 SHA1 26ad1f542e34fdbfcfabfb16aee8de872b533fdc SHA256 927b554c84002e5c840649931091098547063df564940b1e4fd40c9f908181cf EBUILD gdb-apple-1461.ebuild 1871 RMD160 c20e8bd10d2e02623fb6f769a47fdbafbf4fe836 SHA1 d6e4a83454bb271ef141694798115b76b55abffe SHA256 0ed783c9d8d17b8cf6195cd0e94b8db89bcf1863875c9a006317c3f367a8094e EBUILD gdb-apple-1518.ebuild 1827 RMD160 cb9848225ba67ef9dd93a5b0a252bee7efcfd08a SHA1 89677db3279e869a0c4e106a23fa21a6f33892a5 SHA256 9a3f931c22fbf47102a641e2ac613b9a4d6530184dff2cd5216f6eccf7a85004 +EBUILD gdb-apple-1705.ebuild 1877 RMD160 cfad2a32eacb54212c77fa4eadb492e2d19c4ea4 SHA1 7756488fa43aee02d9dd5a638f176f81d93445ee SHA256 504add74d9ead9fefacc27bf2a7d61acdcaff0407aa7a54aeef489ba444201e3 EBUILD gdb-apple-563.ebuild 1245 RMD160 9fd8e67e6a70dde0fd64e712b9ee4def7ab3810d SHA1 d7352f0427ac1909c120f7bbe4cb9c20af29d789 SHA256 2b10acd7ede1a5cbbad076f3951e1b26f1090d7b5541eb778c6404716146693f EBUILD gdb-apple-768-r1.ebuild 1200 RMD160 73607f6f2243be5404bbc062e0d4ac7848ae9f99 SHA1 cdac2d3619f0319a662a71f6050c0758354cb515 SHA256 9b2901740f47dd3878dd9b3c9a211e9dc3bb038729d0b4e29b82be3e00a7cae9 EBUILD gdb-apple-960.ebuild 1216 RMD160 79552138d77808d2b62ce6d359bb8ef5136ff8ed SHA1 f14bab1da6908b695455432161bf7ca72a24c918 SHA256 6c96cda74e7c998f57e0fab2b0257f7eea5b788c5977345bffd8ec1522d9d9cd EBUILD gdb-apple-962.ebuild 1816 RMD160 fe70183e9312f9b55ff46ee33dad772ec350d76a SHA1 ba6e89c48a4ea6167be6608843a1b52e972162c4 SHA256 fe82dbe3024422bc3477c0b9c3ce6cd55f0f7d84a23f2275546afe94bf52ce83 EBUILD gdb-apple-966.ebuild 1820 RMD160 4373222a90ed6e35a9ec6a0b50604a4495f000a0 SHA1 186b53299ba1f74938324b1d2c689a7135c02292 SHA256 39b67161814637968e7089dfb0cdf6c07e89b366db75e89f4cfae67eb1e1b81c -MISC ChangeLog 4935 RMD160 408008be9fbbbbbefc0680e0949128b0215b7b6d SHA1 55e3ceb2a2d5e32500fae1c96ba2ca9824c54dc1 SHA256 7ddb00f48f1240d1736c6e2721e3bb76b7e5be78623f9d707eab3bce75f3782d +MISC ChangeLog 5093 RMD160 89ea1d292005592de9a1b33a71d3e7c753689fed SHA1 f4cc1a13d369bc4487b05152b4ddc203bd13d7df SHA256 b158ddca24709d826b2d1caa01db96fd9e00de0bcb9d9099ccefda1f4413b2a8 MISC metadata.xml 160 RMD160 baab82f4bc435813cfde4796d42840882a9a4f8f SHA1 144e248704973cfad031c92a930aad01a62a2fda SHA256 27667dd7db1d188c12342624ec5ff2155717821d646e442aef9a691c65539ac4 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (Darwin) +Version: GnuPG v2.0.18 (Darwin) -iEYEARECAAYFAk4b4EgACgkQX3X2B8XHTonkMgCgjQ6jE44E8jeThX7+BiizxpJw -NikAni5+lT7PcX0RoMqtRYHyGAgi3UNJ -=kmyW +iEYEARECAAYFAk5iOg4ACgkQX3X2B8XHTolA6QCeMUpJv4ukxt4iUrTSUH1HmMX7 +opEAn0OYa+umghzmSjk8yeHlTO7KRByN +=z0T/ -----END PGP SIGNATURE----- diff --git a/sys-devel/gdb-apple/gdb-apple-1705.ebuild b/sys-devel/gdb-apple/gdb-apple-1705.ebuild new file mode 100644 index 000000000000..55d74ba58566 --- /dev/null +++ b/sys-devel/gdb-apple/gdb-apple-1705.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb-apple/gdb-apple-1705.ebuild,v 1.1 2011/09/03 14:30:33 grobian Exp $ + +EAPI="3" + +inherit eutils flag-o-matic + +APPLE_PV=${PV} +DESCRIPTION="Apple branch of the GNU Debugger, Developer Tools 4.1" +HOMEPAGE="http://sources.redhat.com/gdb/" +SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/gdb-${APPLE_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-${APPLE_PV}/src + +src_prepare() { + epatch "${FILESDIR}"/${PN}-no-global-gdbinit.patch + epatch "${FILESDIR}"/${PN}-768-texinfo.patch + epatch "${FILESDIR}"/${PN}-1518-darwin8-9.patch + [[ ${CHOST} == *-darwin8 ]] && epatch "${FILESDIR}"/${PN}-1518-darwin8.patch +} + +src_configure() { + replace-flags -O? -O2 + econf \ + --disable-werror \ + --disable-debug-symbols-framework \ + $(use_enable nls) \ + || die +} + +src_compile() { + # unable to work around parallel make issue + emake -j2 || die +} + +src_install() { + emake -j2 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 +} |