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