1 |
grobian 11/04/03 09:52:07 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gdb-apple-1518.ebuild |
5 |
Log: |
6 |
Version bump to version from Developer Tools 4.0 |
7 |
|
8 |
(Portage version: 2.2.01.18213-prefix/cvs/Darwin powerpc) |
9 |
|
10 |
Revision Changes Path |
11 |
1.10 sys-devel/gdb-apple/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gdb-apple/ChangeLog?rev=1.10&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gdb-apple/ChangeLog?rev=1.10&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gdb-apple/ChangeLog?r1=1.9&r2=1.10 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-devel/gdb-apple/ChangeLog,v |
20 |
retrieving revision 1.9 |
21 |
retrieving revision 1.10 |
22 |
diff -u -r1.9 -r1.10 |
23 |
--- ChangeLog 23 May 2010 13:40:00 -0000 1.9 |
24 |
+++ ChangeLog 3 Apr 2011 09:52:07 -0000 1.10 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for sys-devel/gdb-apple |
27 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb-apple/ChangeLog,v 1.9 2010/05/23 13:40:00 grobian Exp $ |
29 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb-apple/ChangeLog,v 1.10 2011/04/03 09:52:07 grobian Exp $ |
31 |
+ |
32 |
+*gdb-apple-1518 (03 Apr 2011) |
33 |
+ |
34 |
+ 03 Apr 2011; Fabian Groffen <grobian@g.o> +gdb-apple-1518.ebuild, |
35 |
+ +files/gdb-apple-1518-darwin8.patch, |
36 |
+ +files/gdb-apple-1518-task_dyld_info.patch: |
37 |
+ Version bump to version from Developer Tools 4.0 |
38 |
|
39 |
23 May 2010; Fabian Groffen <grobian@g.o> gdb-apple-1461.ebuild, |
40 |
+files/gdb-apple-no-global-gdbinit.patch: |
41 |
|
42 |
|
43 |
|
44 |
1.1 sys-devel/gdb-apple/gdb-apple-1518.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gdb-apple/gdb-apple-1518.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gdb-apple/gdb-apple-1518.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: gdb-apple-1518.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2011 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb-apple/gdb-apple-1518.ebuild,v 1.1 2011/04/03 09:52:07 grobian Exp $ |
54 |
|
55 |
EAPI="3" |
56 |
|
57 |
inherit eutils flag-o-matic |
58 |
|
59 |
APPLE_PV=${PV} |
60 |
DESCRIPTION="Apple branch of the GNU Debugger, Developer Tools 4.0" |
61 |
HOMEPAGE="http://sources.redhat.com/gdb/" |
62 |
SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/gdb-${APPLE_PV}.tar.gz" |
63 |
|
64 |
LICENSE="APSL-2 GPL-2" |
65 |
SLOT="0" |
66 |
|
67 |
KEYWORDS="~ppc-macos ~x64-macos ~x86-macos" |
68 |
|
69 |
IUSE="nls" |
70 |
|
71 |
RDEPEND=">=sys-libs/ncurses-5.2-r2 |
72 |
=dev-db/sqlite-3*" |
73 |
DEPEND="${RDEPEND} |
74 |
nls? ( sys-devel/gettext )" |
75 |
|
76 |
S=${WORKDIR}/gdb-${APPLE_PV}/src |
77 |
|
78 |
src_prepare() { |
79 |
epatch "${FILESDIR}"/${PN}-no-global-gdbinit.patch |
80 |
epatch "${FILESDIR}"/${PN}-768-texinfo.patch |
81 |
epatch "${FILESDIR}"/${P}-task_dyld_info.patch |
82 |
[[ ${CHOST} == *-darwin8 ]] && epatch "${FILESDIR}"/${P}-darwin8.patch |
83 |
} |
84 |
|
85 |
src_configure() { |
86 |
replace-flags -O? -O2 |
87 |
econf \ |
88 |
--disable-werror \ |
89 |
--disable-debug-symbols-framework \ |
90 |
$(use_enable nls) \ |
91 |
|| die |
92 |
} |
93 |
|
94 |
src_install() { |
95 |
emake DESTDIR="${D}" libdir=/nukeme includedir=/nukeme install || die |
96 |
rm -R "${D}"/nukeme || die |
97 |
rm -Rf "${ED}"/usr/${CHOST} || die |
98 |
mv "${ED}"/usr/bin/gdb ${ED}/ |
99 |
rm -f "${ED}"/usr/bin/* |
100 |
mv "${ED}"/gdb "${ED}"/usr/bin/ |
101 |
} |
102 |
|
103 |
pkg_postinst() { |
104 |
if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -ge 9 ]] ; then |
105 |
ewarn "Due to increased security measures in 10.5 and up, gdb is" |
106 |
ewarn "not able to get a mach task port when installed by Prefix" |
107 |
ewarn "Portage, unprivileged. To make gdb fully functional you'll" |
108 |
ewarn "have to perform the following steps:" |
109 |
ewarn " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb" |
110 |
ewarn " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb" |
111 |
fi |
112 |
} |