1 |
commit: 6008cdc6c2b8e4e5e1ff163b9b649ad9ffbe08fe |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 26 17:09:32 2017 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 26 17:10:06 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6008cdc6 |
7 |
|
8 |
sys-devel/gdb-apples: cleanup, bump ebuilds to EAPI=6 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
sys-devel/gdb-apple/Manifest | 8 ---- |
13 |
sys-devel/gdb-apple/gdb-apple-1344.ebuild | 61 ------------------------ |
14 |
sys-devel/gdb-apple/gdb-apple-1346.ebuild | 61 ------------------------ |
15 |
sys-devel/gdb-apple/gdb-apple-1461.ebuild | 7 +-- |
16 |
sys-devel/gdb-apple/gdb-apple-1518.ebuild | 63 ------------------------ |
17 |
sys-devel/gdb-apple/gdb-apple-1705.ebuild | 74 ----------------------------- |
18 |
sys-devel/gdb-apple/gdb-apple-1708.ebuild | 74 ----------------------------- |
19 |
sys-devel/gdb-apple/gdb-apple-1752.ebuild | 7 +-- |
20 |
sys-devel/gdb-apple/gdb-apple-563.ebuild | 51 -------------------- |
21 |
sys-devel/gdb-apple/gdb-apple-768-r1.ebuild | 7 +-- |
22 |
sys-devel/gdb-apple/gdb-apple-960.ebuild | 50 ------------------- |
23 |
sys-devel/gdb-apple/gdb-apple-962.ebuild | 64 ------------------------- |
24 |
sys-devel/gdb-apple/gdb-apple-966.ebuild | 7 +-- |
25 |
13 files changed, 16 insertions(+), 518 deletions(-) |
26 |
|
27 |
diff --git a/sys-devel/gdb-apple/Manifest b/sys-devel/gdb-apple/Manifest |
28 |
index dbd5cc77c1..229ac875f1 100644 |
29 |
--- a/sys-devel/gdb-apple/Manifest |
30 |
+++ b/sys-devel/gdb-apple/Manifest |
31 |
@@ -1,12 +1,4 @@ |
32 |
-DIST gdb-1344.tar.gz 17916770 SHA256 96c37c4bd4e8446e7f22411ca3972ccb240e5cfc256fe0593b012f12fdbcb7a1 SHA512 8cbcb3cfd21fae2ecf8ef04c241b71607d96bb69e6c70232efee39337196668d4772a883228b3ae70ff94ea8bc4236be541833cf9a1d6acacd4d14b0b848d5fa WHIRLPOOL 580442bf1ca19ebf201e9b5e7472368306e6fb4b4c068e271a8d37e292672f29004b17916ac8c05c0fb95817e81123c2a60d3228b57e3db7130c30f9db78e48a |
33 |
-DIST gdb-1346.tar.gz 17913352 SHA256 1bda1693366e052150ce680d80a81df70cb8e61fe29fb3f9f3556e52ae141387 SHA512 f8b66955ab5dd35bcd1981ab8c835810f367e96ad074381aa9cfdf7de71d44dea58f054032c5446c7ec9b84c3b4224053ee38519556068b81a35186422666b04 WHIRLPOOL 6c624ad725a2d4ec991a87243adb7acb7eae933eac820b21cb66d78ca48b060720fa123efb20f3a8e5f80bae0d97f74c86dd72ef0dc09b2a4437312bc43aaa0f |
34 |
DIST gdb-1461.2.tar.gz 17951571 SHA256 91d8cdbcd9cf36377d9c2d425921141085b5c79a6dce312a3dc0b6960f8e02f9 SHA512 2d8b11ed575e26176a8f93eb7d2fbc052313114ffce10f0da6888ff9e7c30067d4db6d89c9443187bf7167823dfd631a7f56fe718160b5653791080df9b8163d WHIRLPOOL 20f0bcf5d9c7a5f42ff3d46e074ad94ed7bd6c89e61c6887a66b8f04fe5eb7dd3d9adaaaa041af0ef3c5fd236b7c31faa40a51a2f90e6217bec59b56950de929 |
35 |
-DIST gdb-1518.tar.gz 17966113 SHA256 c3050f0be9cb60d86ffc5fd174da78bf986511a442526ef8b0eec1e77161f607 SHA512 241ddf90c53f0c2a867fba461772b2fdd535cf485b3e0076000c0442bb36d97cc046b79352d75d9d05c868dfb39992d8eb02c215481f7afd39644581d09f5996 WHIRLPOOL a25e3d91ac60548540a4c17c26c5f9bf3ab53d8a9517b820681cc66928c602094b5ed7bd11c90d5700a56b48a6de7a760efc5487835f52ad3cb5cffb477e0daf |
36 |
-DIST gdb-1705.tar.gz 17919005 SHA256 f0c4c145f2ef795c4742e0cd8b3f6a95f06c9985eee04a82260b62bdd8293d37 SHA512 7de0bf11a9bf6de7bdd586aada953269a71e01fa67078a5f0f203d232a1d9889b48ae295b17e2749c7f57dd824206b23ff404dfdb5c1428fa29bc9651c7db09b WHIRLPOOL 30e1e91d414f69f78f95e481316348e3cb37e3ed2c96875f815a59b829c07d636638f8ce4930fc55e4e5a05c7c768d90f164f13f5fbbe4e8ec3737657f4b57b4 |
37 |
-DIST gdb-1708.tar.gz 17922049 SHA256 6ef5a8e09a28c78d3b7cee32b2886f72206ce519acaff5791fa08b90c9f0e327 SHA512 985c9fb902ba87020b3671e74d9a0f843d9a721270f1f4c83d35c9e9190c2e254a7a6100d9b68f0e5806803e84d98d2a7c19b1b94db0ba78e7f4f07a8816f4b6 WHIRLPOOL d19169e4e659653287496787a47e97be46ddb9196682bcf7ef9212a75819167faf877ea7c93fd87b45326acc82caa528ac1d21f4217d3c8b01219b955a624b52 |
38 |
DIST gdb-1752.tar.gz 17922994 SHA256 8685227243cedc26954d175f28ed56ba5889410420aa888323e1eeaffb204ccf SHA512 863a861a9a7708b8a763ea93599f6b519277f23fff35700d04e81a7747cc49421d0f051790deb92c440ced30ee15ba719b75066d5a614341e0f0b765d7a81094 WHIRLPOOL f07fd8a5e3e8ed466a5f21df689c4b6b7f7deaafcfdb2a209573a1112c1720c423f87e1b82d559a0616aea0c089966ffe9d30e785112936469394a621c916611 |
39 |
-DIST gdb-563.tar.gz 17130626 SHA256 a41177e2edbac8982e01ca01dbd52bef65bd1604fb3a65278dd0f44509bb7179 SHA512 8bcc8adf779c5ffd169b24ad064bbd9abc55f5d420246a1fce411a0b74a4c7af66e5c4f6e40fe5ed1946ae5ddbddfbd79ffbc19e3e84331b4dfac1ad1c279ba6 WHIRLPOOL 9fb6675851100ed55280f5119862fdbe3970e247b9c914d8f1484b63fd95cfbfec4322fbef1a444e4f15b988f1cdd0bdc541808ec3ea00cfbcbe267f6ac463bd |
40 |
DIST gdb-768.tar.gz 17727326 SHA256 2342cbbf7c57dcc08011736c9823d5ca374156666ba73c4b67d9984ed944f24d SHA512 40395d2e8ca30bb7aa0bbb0b270cbb9c18decc5a8fb37a764d43770e234b6281528d6feb301bcd97033c624c196851283fdbfc131f0336772a1e6e4b0168ae47 WHIRLPOOL a824e5ff903df33327827545ca8dad0401846f368e6feb3dc1b8fc9d9d2359e37302a6fd2773a6ec09ce7c71cae6082728cb9ee7d62ec28c4ede7f2fe0630c56 |
41 |
-DIST gdb-960.tar.gz 17875803 SHA256 921cb5317b934008bd5f7669cca811a0377c40b779277e9326198f4919f22d97 SHA512 932a97ce5cc5c16f3ab6c9e61e66ae2ce6f8c76008c52a8c890ca7a77f518b427b689b351cfd0b5b366348c8615a98f37232ac16f2e2f8994b004cffb16150e6 WHIRLPOOL f18b5b8eb014e27e891d25be8e06fd31c45ee32a9d832950f84f970e6e8e5df3bfcf581ed144f52c22d4bb2fc48665b19bbff1bc0f28b5537a77e6952e69b7e4 |
42 |
-DIST gdb-962.tar.gz 17876280 SHA256 b0b98aaf864797c6ffeab61b8a3d2b05d544d872969245825e257aa421f30700 SHA512 a69c3c59c47b0c068e2c94ca821ef992ccffad1bd93fc64063a30655ffb86fe401c37ad49f4c3566c6cc2530c2423a1f60f9dddf3d52990fc1ec9a930af308e4 WHIRLPOOL dd99513738c05e11a74a9c027f28ee3cafcf66a7d6caab3c465466194bde87b5e5e9c9bdccfb56e3c9c33700be545b6025a8e7e7884f6ad7115018d0da81ddeb |
43 |
DIST gdb-966.tar.gz 17769429 SHA256 fc51d13dd4153e4ac6140fa5199699dc26387189fb0e37277bb50944410a445f SHA512 daaf6f0329e311d46d82734df87fd501f70281edb511a8eb9123b6288a6a97f84725acc0f1c5e67dee3dc3e00cfa31bf7fc20594fbf3827a0ea35414f5ef7434 WHIRLPOOL acb4fb07806c08f5e58aca3b067226ce789ecd35d77eecda2e12ff757c27f08102ac3bbc4e6cf81dde97e6b112e721a7db178a807ec84a108ccc50772d45a11d |
44 |
|
45 |
diff --git a/sys-devel/gdb-apple/gdb-apple-1344.ebuild b/sys-devel/gdb-apple/gdb-apple-1344.ebuild |
46 |
deleted file mode 100644 |
47 |
index f0c6616ee4..0000000000 |
48 |
--- a/sys-devel/gdb-apple/gdb-apple-1344.ebuild |
49 |
+++ /dev/null |
50 |
@@ -1,61 +0,0 @@ |
51 |
-# Copyright 1999-2013 Gentoo Foundation |
52 |
-# Distributed under the terms of the GNU General Public License v2 |
53 |
-# $Id$ |
54 |
- |
55 |
-EAPI="3" |
56 |
- |
57 |
-inherit eutils flag-o-matic |
58 |
- |
59 |
-DESCRIPTION="Apple branch of the GNU Debugger, Developer Tools 3.2" |
60 |
-HOMEPAGE="https://sourceware.org/gdb/" |
61 |
-SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/gdb-${PV}.tar.gz" |
62 |
- |
63 |
-LICENSE="APSL-2 GPL-2" |
64 |
-SLOT="0" |
65 |
- |
66 |
-KEYWORDS="~ppc-macos ~x64-macos ~x86-macos" |
67 |
- |
68 |
-IUSE="nls" |
69 |
- |
70 |
-RDEPEND=">=sys-libs/ncurses-5.2-r2 |
71 |
- =dev-db/sqlite-3*" |
72 |
-DEPEND="${RDEPEND} |
73 |
- nls? ( sys-devel/gettext )" |
74 |
- |
75 |
-S=${WORKDIR}/gdb-${PV}/src |
76 |
- |
77 |
-src_prepare() { |
78 |
- epatch "${FILESDIR}"/${PN}-768-texinfo.patch |
79 |
- [[ ${CHOST} == *-darwin8 ]] && epatch "${FILESDIR}"/${PN}-1344-darwin8.patch |
80 |
- |
81 |
- # for FSF gcc / gcc-apple:42 |
82 |
- sed -e 's/-Wno-long-double//' -i gdb/config/*/macosx.mh |
83 |
-} |
84 |
- |
85 |
-src_configure() { |
86 |
- replace-flags -O? -O2 |
87 |
- econf \ |
88 |
- --disable-werror \ |
89 |
- $(use_enable nls) \ |
90 |
- || die |
91 |
-} |
92 |
- |
93 |
-src_install() { |
94 |
- emake DESTDIR="${D}" libdir=/nukeme includedir=/nukeme install || die |
95 |
- rm -R "${D}"/nukeme || die |
96 |
- rm -Rf "${ED}"/usr/${CHOST} || die |
97 |
- mv "${ED}"/usr/bin/gdb "${ED}"/ |
98 |
- rm -f "${ED}"/usr/bin/* |
99 |
- mv "${ED}"/gdb "${ED}"/usr/bin/ |
100 |
-} |
101 |
- |
102 |
-pkg_postinst() { |
103 |
- if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -ge 9 ]] ; then |
104 |
- ewarn "Due to increased security measures in 10.5 and up, gdb is" |
105 |
- ewarn "not able to get a mach task port when installed by Prefix" |
106 |
- ewarn "Portage, unprivileged. To make gdb fully functional you'll" |
107 |
- ewarn "have to perform the following steps:" |
108 |
- ewarn " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb" |
109 |
- ewarn " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb" |
110 |
- fi |
111 |
-} |
112 |
|
113 |
diff --git a/sys-devel/gdb-apple/gdb-apple-1346.ebuild b/sys-devel/gdb-apple/gdb-apple-1346.ebuild |
114 |
deleted file mode 100644 |
115 |
index 9a0ba21340..0000000000 |
116 |
--- a/sys-devel/gdb-apple/gdb-apple-1346.ebuild |
117 |
+++ /dev/null |
118 |
@@ -1,61 +0,0 @@ |
119 |
-# Copyright 1999-2013 Gentoo Foundation |
120 |
-# Distributed under the terms of the GNU General Public License v2 |
121 |
-# $Id$ |
122 |
- |
123 |
-EAPI="3" |
124 |
- |
125 |
-inherit eutils flag-o-matic |
126 |
- |
127 |
-DESCRIPTION="Apple branch of the GNU Debugger, Developer Tools 3.2.1" |
128 |
-HOMEPAGE="https://sourceware.org/gdb/" |
129 |
-SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/gdb-${PV}.tar.gz" |
130 |
- |
131 |
-LICENSE="APSL-2 GPL-2" |
132 |
-SLOT="0" |
133 |
- |
134 |
-KEYWORDS="~ppc-macos ~x64-macos ~x86-macos" |
135 |
- |
136 |
-IUSE="nls" |
137 |
- |
138 |
-RDEPEND=">=sys-libs/ncurses-5.2-r2 |
139 |
- =dev-db/sqlite-3*" |
140 |
-DEPEND="${RDEPEND} |
141 |
- nls? ( sys-devel/gettext )" |
142 |
- |
143 |
-S=${WORKDIR}/gdb-${PV}/src |
144 |
- |
145 |
-src_prepare() { |
146 |
- epatch "${FILESDIR}"/${PN}-768-texinfo.patch |
147 |
- [[ ${CHOST} == *-darwin8 ]] && epatch "${FILESDIR}"/${PN}-1344-darwin8.patch |
148 |
- |
149 |
- # for FSF gcc / gcc-apple:42 |
150 |
- sed -e 's/-Wno-long-double//' -i gdb/config/*/macosx.mh |
151 |
-} |
152 |
- |
153 |
-src_configure() { |
154 |
- replace-flags -O? -O2 |
155 |
- econf \ |
156 |
- --disable-werror \ |
157 |
- $(use_enable nls) \ |
158 |
- || die |
159 |
-} |
160 |
- |
161 |
-src_install() { |
162 |
- emake DESTDIR="${D}" libdir=/nukeme includedir=/nukeme install || die |
163 |
- rm -R "${D}"/nukeme || die |
164 |
- rm -Rf "${ED}"/usr/${CHOST} || die |
165 |
- mv "${ED}"/usr/bin/gdb "${ED}"/ |
166 |
- rm -f "${ED}"/usr/bin/* |
167 |
- mv "${ED}"/gdb "${ED}"/usr/bin/ |
168 |
-} |
169 |
- |
170 |
-pkg_postinst() { |
171 |
- if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -ge 9 ]] ; then |
172 |
- ewarn "Due to increased security measures in 10.5 and up, gdb is" |
173 |
- ewarn "not able to get a mach task port when installed by Prefix" |
174 |
- ewarn "Portage, unprivileged. To make gdb fully functional you'll" |
175 |
- ewarn "have to perform the following steps:" |
176 |
- ewarn " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb" |
177 |
- ewarn " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb" |
178 |
- fi |
179 |
-} |
180 |
|
181 |
diff --git a/sys-devel/gdb-apple/gdb-apple-1461.ebuild b/sys-devel/gdb-apple/gdb-apple-1461.ebuild |
182 |
index 2e51937b66..39484c62c3 100644 |
183 |
--- a/sys-devel/gdb-apple/gdb-apple-1461.ebuild |
184 |
+++ b/sys-devel/gdb-apple/gdb-apple-1461.ebuild |
185 |
@@ -1,8 +1,7 @@ |
186 |
-# Copyright 1999-2013 Gentoo Foundation |
187 |
+# Copyright 1999-2017 Gentoo Foundation |
188 |
# Distributed under the terms of the GNU General Public License v2 |
189 |
-# $Id$ |
190 |
|
191 |
-EAPI="3" |
192 |
+EAPI="6" |
193 |
|
194 |
inherit eutils flag-o-matic |
195 |
|
196 |
@@ -33,6 +32,8 @@ src_prepare() { |
197 |
|
198 |
# for FSF gcc / gcc-apple:42 |
199 |
sed -e 's/-Wno-long-double//' -i gdb/config/*/macosx.mh |
200 |
+ |
201 |
+ eapply_user |
202 |
} |
203 |
|
204 |
src_configure() { |
205 |
|
206 |
diff --git a/sys-devel/gdb-apple/gdb-apple-1518.ebuild b/sys-devel/gdb-apple/gdb-apple-1518.ebuild |
207 |
deleted file mode 100644 |
208 |
index 84c5b1156d..0000000000 |
209 |
--- a/sys-devel/gdb-apple/gdb-apple-1518.ebuild |
210 |
+++ /dev/null |
211 |
@@ -1,63 +0,0 @@ |
212 |
-# Copyright 1999-2013 Gentoo Foundation |
213 |
-# Distributed under the terms of the GNU General Public License v2 |
214 |
-# $Id$ |
215 |
- |
216 |
-EAPI="3" |
217 |
- |
218 |
-inherit eutils flag-o-matic |
219 |
- |
220 |
-APPLE_PV=${PV} |
221 |
-DESCRIPTION="Apple branch of the GNU Debugger, Developer Tools 4.0" |
222 |
-HOMEPAGE="https://sourceware.org/gdb/" |
223 |
-SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/gdb-${APPLE_PV}.tar.gz" |
224 |
- |
225 |
-LICENSE="APSL-2 GPL-2" |
226 |
-SLOT="0" |
227 |
- |
228 |
-KEYWORDS="~ppc-macos ~x64-macos ~x86-macos" |
229 |
- |
230 |
-IUSE="nls" |
231 |
- |
232 |
-RDEPEND=">=sys-libs/ncurses-5.2-r2 |
233 |
- =dev-db/sqlite-3*" |
234 |
-DEPEND="${RDEPEND} |
235 |
- nls? ( sys-devel/gettext )" |
236 |
- |
237 |
-S=${WORKDIR}/gdb-${APPLE_PV}/src |
238 |
- |
239 |
-src_prepare() { |
240 |
- epatch "${FILESDIR}"/${PN}-no-global-gdbinit.patch |
241 |
- epatch "${FILESDIR}"/${PN}-768-texinfo.patch |
242 |
- epatch "${FILESDIR}"/${P}-task_dyld_info.patch |
243 |
- epatch "${FILESDIR}"/${P}-darwin8-9.patch |
244 |
- [[ ${CHOST} == *-darwin8 ]] && epatch "${FILESDIR}"/${P}-darwin8.patch |
245 |
-} |
246 |
- |
247 |
-src_configure() { |
248 |
- replace-flags -O? -O2 |
249 |
- econf \ |
250 |
- --disable-werror \ |
251 |
- --disable-debug-symbols-framework \ |
252 |
- $(use_enable nls) \ |
253 |
- || die |
254 |
-} |
255 |
- |
256 |
-src_install() { |
257 |
- emake DESTDIR="${D}" libdir=/nukeme includedir=/nukeme install || die |
258 |
- rm -R "${D}"/nukeme || die |
259 |
- rm -Rf "${ED}"/usr/${CHOST} || die |
260 |
- mv "${ED}"/usr/bin/gdb "${ED}"/ |
261 |
- rm -f "${ED}"/usr/bin/* |
262 |
- mv "${ED}"/gdb "${ED}"/usr/bin/ |
263 |
-} |
264 |
- |
265 |
-pkg_postinst() { |
266 |
- if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -ge 9 ]] ; then |
267 |
- ewarn "Due to increased security measures in 10.5 and up, gdb is" |
268 |
- ewarn "not able to get a mach task port when installed by Prefix" |
269 |
- ewarn "Portage, unprivileged. To make gdb fully functional you'll" |
270 |
- ewarn "have to perform the following steps:" |
271 |
- ewarn " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb" |
272 |
- ewarn " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb" |
273 |
- fi |
274 |
-} |
275 |
|
276 |
diff --git a/sys-devel/gdb-apple/gdb-apple-1705.ebuild b/sys-devel/gdb-apple/gdb-apple-1705.ebuild |
277 |
deleted file mode 100644 |
278 |
index d6ce02a507..0000000000 |
279 |
--- a/sys-devel/gdb-apple/gdb-apple-1705.ebuild |
280 |
+++ /dev/null |
281 |
@@ -1,74 +0,0 @@ |
282 |
-# Copyright 1999-2013 Gentoo Foundation |
283 |
-# Distributed under the terms of the GNU General Public License v2 |
284 |
-# $Id$ |
285 |
- |
286 |
-EAPI="3" |
287 |
- |
288 |
-inherit eutils flag-o-matic |
289 |
- |
290 |
-APPLE_PV=${PV} |
291 |
-DESCRIPTION="Apple branch of the GNU Debugger, Developer Tools 4.1" |
292 |
-HOMEPAGE="https://sourceware.org/gdb/" |
293 |
-SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/gdb-${APPLE_PV}.tar.gz" |
294 |
- |
295 |
-LICENSE="APSL-2 GPL-2" |
296 |
-SLOT="0" |
297 |
- |
298 |
-KEYWORDS="~ppc-macos ~x64-macos ~x86-macos" |
299 |
- |
300 |
-IUSE="nls" |
301 |
- |
302 |
-RDEPEND=">=sys-libs/ncurses-5.2-r2 |
303 |
- =dev-db/sqlite-3*" |
304 |
-DEPEND="${RDEPEND} |
305 |
- nls? ( sys-devel/gettext )" |
306 |
- |
307 |
-S=${WORKDIR}/gdb-${APPLE_PV}/src |
308 |
- |
309 |
-src_prepare() { |
310 |
- epatch "${FILESDIR}"/${PN}-no-global-gdbinit.patch |
311 |
- epatch "${FILESDIR}"/${PN}-768-texinfo.patch |
312 |
- epatch "${FILESDIR}"/${PN}-1518-darwin8-9.patch |
313 |
- epatch "${FILESDIR}"/${PN}-1705-darwin8-10.patch |
314 |
- [[ ${CHOST} == *-darwin8 ]] && epatch "${FILESDIR}"/${PN}-1518-darwin8.patch |
315 |
-} |
316 |
- |
317 |
-src_configure() { |
318 |
- replace-flags -O? -O2 |
319 |
- econf \ |
320 |
- --disable-werror \ |
321 |
- --disable-debug-symbols-framework \ |
322 |
- $(use_enable nls) \ |
323 |
- || die |
324 |
-} |
325 |
- |
326 |
-src_compile() { |
327 |
- # unable to work around parallel make issue |
328 |
- emake -j2 || die |
329 |
-} |
330 |
- |
331 |
-src_install() { |
332 |
- emake -j2 DESTDIR="${D}" libdir=/nukeme includedir=/nukeme install || die |
333 |
- rm -R "${D}"/nukeme || die |
334 |
- rm -Rf "${ED}"/usr/${CHOST} || die |
335 |
- mv "${ED}"/usr/bin/gdb "${ED}"/ |
336 |
- rm -f "${ED}"/usr/bin/* |
337 |
- mv "${ED}"/gdb "${ED}"/usr/bin/ |
338 |
-} |
339 |
- |
340 |
-pkg_postinst() { |
341 |
- if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -ge 9 ]] ; then |
342 |
- ewarn "Due to increased security measures in 10.5 and up, gdb is" |
343 |
- ewarn "not able to get a mach task port when installed by Prefix" |
344 |
- ewarn "Portage, unprivileged. To make gdb fully functional you'll" |
345 |
- ewarn "have to perform the following steps:" |
346 |
- ewarn " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb" |
347 |
- ewarn " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb" |
348 |
- fi |
349 |
- if use x86-macos || use x64-macos ; then |
350 |
- einfo "FSF gdb works on Intel-based OSX platforms, sometimes even" |
351 |
- einfo "better than gdb-apple. You can consider installing FSF gdb" |
352 |
- einfo "instead of gdb-apple, since the FSF version is surely more" |
353 |
- einfo "advanced than this old 6.8 version modified by Apple." |
354 |
- fi |
355 |
-} |
356 |
|
357 |
diff --git a/sys-devel/gdb-apple/gdb-apple-1708.ebuild b/sys-devel/gdb-apple/gdb-apple-1708.ebuild |
358 |
deleted file mode 100644 |
359 |
index 77c8d9e0fa..0000000000 |
360 |
--- a/sys-devel/gdb-apple/gdb-apple-1708.ebuild |
361 |
+++ /dev/null |
362 |
@@ -1,74 +0,0 @@ |
363 |
-# Copyright 1999-2013 Gentoo Foundation |
364 |
-# Distributed under the terms of the GNU General Public License v2 |
365 |
-# $Id$ |
366 |
- |
367 |
-EAPI="3" |
368 |
- |
369 |
-inherit eutils flag-o-matic |
370 |
- |
371 |
-APPLE_PV=${PV} |
372 |
-DESCRIPTION="Apple branch of the GNU Debugger, Developer Tools 4.2" |
373 |
-HOMEPAGE="https://sourceware.org/gdb/" |
374 |
-SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/gdb-${APPLE_PV}.tar.gz" |
375 |
- |
376 |
-LICENSE="APSL-2 GPL-2" |
377 |
-SLOT="0" |
378 |
- |
379 |
-KEYWORDS="~ppc-macos ~x64-macos ~x86-macos" |
380 |
- |
381 |
-IUSE="nls" |
382 |
- |
383 |
-RDEPEND=">=sys-libs/ncurses-5.2-r2 |
384 |
- =dev-db/sqlite-3*" |
385 |
-DEPEND="${RDEPEND} |
386 |
- nls? ( sys-devel/gettext )" |
387 |
- |
388 |
-S=${WORKDIR}/gdb-${APPLE_PV}/src |
389 |
- |
390 |
-src_prepare() { |
391 |
- epatch "${FILESDIR}"/${PN}-no-global-gdbinit.patch |
392 |
- epatch "${FILESDIR}"/${PN}-768-texinfo.patch |
393 |
- epatch "${FILESDIR}"/${PN}-1518-darwin8-9.patch |
394 |
- epatch "${FILESDIR}"/${PN}-1705-darwin8-10.patch |
395 |
- [[ ${CHOST} == *-darwin8 ]] && epatch "${FILESDIR}"/${PN}-1518-darwin8.patch |
396 |
-} |
397 |
- |
398 |
-src_configure() { |
399 |
- replace-flags -O? -O2 |
400 |
- econf \ |
401 |
- --disable-werror \ |
402 |
- --disable-debug-symbols-framework \ |
403 |
- $(use_enable nls) \ |
404 |
- || die |
405 |
-} |
406 |
- |
407 |
-src_compile() { |
408 |
- # unable to work around parallel make issue |
409 |
- emake -j2 || die |
410 |
-} |
411 |
- |
412 |
-src_install() { |
413 |
- emake -j2 DESTDIR="${D}" libdir=/nukeme includedir=/nukeme install || die |
414 |
- rm -R "${D}"/nukeme || die |
415 |
- rm -Rf "${ED}"/usr/${CHOST} || die |
416 |
- mv "${ED}"/usr/bin/gdb "${ED}"/ |
417 |
- rm -f "${ED}"/usr/bin/* |
418 |
- mv "${ED}"/gdb "${ED}"/usr/bin/ |
419 |
-} |
420 |
- |
421 |
-pkg_postinst() { |
422 |
- if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -ge 9 ]] ; then |
423 |
- ewarn "Due to increased security measures in 10.5 and up, gdb is" |
424 |
- ewarn "not able to get a mach task port when installed by Prefix" |
425 |
- ewarn "Portage, unprivileged. To make gdb fully functional you'll" |
426 |
- ewarn "have to perform the following steps:" |
427 |
- ewarn " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb" |
428 |
- ewarn " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb" |
429 |
- fi |
430 |
- if use x86-macos || use x64-macos ; then |
431 |
- einfo "FSF gdb works on Intel-based OSX platforms, sometimes even" |
432 |
- einfo "better than gdb-apple. You can consider installing FSF gdb" |
433 |
- einfo "instead of gdb-apple, since the FSF version is surely more" |
434 |
- einfo "advanced than this old 6.8 version modified by Apple." |
435 |
- fi |
436 |
-} |
437 |
|
438 |
diff --git a/sys-devel/gdb-apple/gdb-apple-1752.ebuild b/sys-devel/gdb-apple/gdb-apple-1752.ebuild |
439 |
index cdd5c02629..6a6d6a5c51 100644 |
440 |
--- a/sys-devel/gdb-apple/gdb-apple-1752.ebuild |
441 |
+++ b/sys-devel/gdb-apple/gdb-apple-1752.ebuild |
442 |
@@ -1,8 +1,7 @@ |
443 |
-# Copyright 1999-2013 Gentoo Foundation |
444 |
+# Copyright 1999-2017 Gentoo Foundation |
445 |
# Distributed under the terms of the GNU General Public License v2 |
446 |
-# $Id$ |
447 |
|
448 |
-EAPI="3" |
449 |
+EAPI="6" |
450 |
|
451 |
inherit eutils flag-o-matic |
452 |
|
453 |
@@ -31,6 +30,8 @@ src_prepare() { |
454 |
epatch "${FILESDIR}"/${PN}-1518-darwin8-9.patch |
455 |
epatch "${FILESDIR}"/${PN}-1705-darwin8-10.patch |
456 |
[[ ${CHOST} == *-darwin8 ]] && epatch "${FILESDIR}"/${PN}-1518-darwin8.patch |
457 |
+ |
458 |
+ eapply_user |
459 |
} |
460 |
|
461 |
src_configure() { |
462 |
|
463 |
diff --git a/sys-devel/gdb-apple/gdb-apple-563.ebuild b/sys-devel/gdb-apple/gdb-apple-563.ebuild |
464 |
deleted file mode 100644 |
465 |
index 5dc3235555..0000000000 |
466 |
--- a/sys-devel/gdb-apple/gdb-apple-563.ebuild |
467 |
+++ /dev/null |
468 |
@@ -1,51 +0,0 @@ |
469 |
-# Copyright 1999-2013 Gentoo Foundation |
470 |
-# Distributed under the terms of the GNU General Public License v2 |
471 |
-# $Id$ |
472 |
- |
473 |
-EAPI="3" |
474 |
- |
475 |
-inherit eutils flag-o-matic |
476 |
- |
477 |
-DESCRIPTION="Apple branch of the GNU Debugger, Xcode 2.4" |
478 |
-HOMEPAGE="https://sourceware.org/gdb/" |
479 |
-SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/gdb-${PV}.tar.gz" |
480 |
- |
481 |
-LICENSE="APSL-2 GPL-2" |
482 |
-SLOT="0" |
483 |
- |
484 |
-KEYWORDS="~ppc-macos ~x86-macos" |
485 |
- |
486 |
-IUSE="nls" |
487 |
- |
488 |
-RDEPEND=">=sys-libs/ncurses-5.2-r2 |
489 |
- =dev-db/sqlite-3*" |
490 |
-DEPEND="${RDEPEND} |
491 |
- nls? ( sys-devel/gettext )" |
492 |
- |
493 |
-S=${WORKDIR}/gdb-${PV}/src |
494 |
- |
495 |
-src_prepare() { |
496 |
- epatch "${FILESDIR}"/${P}-darwin7.patch |
497 |
- epatch "${FILESDIR}"/${P}-no-64bit.patch |
498 |
- epatch "${FILESDIR}"/${PN}-768-texinfo.patch |
499 |
- |
500 |
- # for FSF gcc / gcc-apple:42 |
501 |
- sed -e 's/-Wno-long-double//' -i gdb/config/*/macosx.mh |
502 |
-} |
503 |
- |
504 |
-src_configure() { |
505 |
- replace-flags -O? -O2 |
506 |
- econf \ |
507 |
- --disable-werror \ |
508 |
- $(use_enable nls) \ |
509 |
- || die |
510 |
-} |
511 |
- |
512 |
-src_install() { |
513 |
- emake DESTDIR="${D}" libdir=/nukeme includedir=/nukeme install || die |
514 |
- rm -r "${D}"/nukeme || die |
515 |
- rm -Rf "${ED}"/usr/${CHOST} || die |
516 |
- mv "${ED}"/usr/bin/gdb "${ED}"/ |
517 |
- rm -f "${ED}"/usr/bin/* |
518 |
- mv "${ED}"/gdb "${ED}"/usr/bin/ |
519 |
-} |
520 |
|
521 |
diff --git a/sys-devel/gdb-apple/gdb-apple-768-r1.ebuild b/sys-devel/gdb-apple/gdb-apple-768-r1.ebuild |
522 |
index e86d161987..1206ecb0b6 100644 |
523 |
--- a/sys-devel/gdb-apple/gdb-apple-768-r1.ebuild |
524 |
+++ b/sys-devel/gdb-apple/gdb-apple-768-r1.ebuild |
525 |
@@ -1,8 +1,7 @@ |
526 |
-# Copyright 1999-2013 Gentoo Foundation |
527 |
+# Copyright 1999-2017 Gentoo Foundation |
528 |
# Distributed under the terms of the GNU General Public License v2 |
529 |
-# $Id$ |
530 |
|
531 |
-EAPI="3" |
532 |
+EAPI="6" |
533 |
|
534 |
inherit eutils flag-o-matic |
535 |
|
536 |
@@ -30,6 +29,8 @@ src_prepare() { |
537 |
|
538 |
# for FSF gcc / gcc-apple:42 |
539 |
sed -e 's/-Wno-long-double//' -i gdb/config/*/macosx.mh |
540 |
+ |
541 |
+ eapply_user |
542 |
} |
543 |
|
544 |
src_configure() { |
545 |
|
546 |
diff --git a/sys-devel/gdb-apple/gdb-apple-960.ebuild b/sys-devel/gdb-apple/gdb-apple-960.ebuild |
547 |
deleted file mode 100644 |
548 |
index b7463cef20..0000000000 |
549 |
--- a/sys-devel/gdb-apple/gdb-apple-960.ebuild |
550 |
+++ /dev/null |
551 |
@@ -1,50 +0,0 @@ |
552 |
-# Copyright 1999-2013 Gentoo Foundation |
553 |
-# Distributed under the terms of the GNU General Public License v2 |
554 |
-# $Id$ |
555 |
- |
556 |
-EAPI="3" |
557 |
- |
558 |
-inherit eutils flag-o-matic |
559 |
- |
560 |
-DESCRIPTION="Apple branch of the GNU Debugger, Xcode Tools 3.1" |
561 |
-HOMEPAGE="https://sourceware.org/gdb/" |
562 |
-SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/gdb-${PV}.tar.gz" |
563 |
- |
564 |
-LICENSE="APSL-2 GPL-2" |
565 |
-SLOT="0" |
566 |
- |
567 |
-KEYWORDS="~ppc-macos ~x86-macos" |
568 |
- |
569 |
-IUSE="nls" |
570 |
- |
571 |
-RDEPEND=">=sys-libs/ncurses-5.2-r2 |
572 |
- =dev-db/sqlite-3*" |
573 |
-DEPEND="${RDEPEND} |
574 |
- nls? ( sys-devel/gettext )" |
575 |
- |
576 |
-S=${WORKDIR}/gdb-${PV}/src |
577 |
- |
578 |
-src_prepare() { |
579 |
- epatch "${FILESDIR}"/${PN}-768-texinfo.patch |
580 |
- epatch "${FILESDIR}"/${PN}-768-darwin-arch.patch |
581 |
- |
582 |
- # for FSF gcc / gcc-apple:42 |
583 |
- sed -e 's/-Wno-long-double//' -i gdb/config/*/macosx.mh |
584 |
-} |
585 |
- |
586 |
-src_configure() { |
587 |
- replace-flags -O? -O2 |
588 |
- econf \ |
589 |
- --disable-werror \ |
590 |
- $(use_enable nls) \ |
591 |
- || die |
592 |
-} |
593 |
- |
594 |
-src_install() { |
595 |
- emake DESTDIR="${D}" libdir=/nukeme includedir=/nukeme install || die |
596 |
- rm -r "$D"/nukeme || die |
597 |
- rm -Rf "${ED}"/usr/${CHOST} || die |
598 |
- mv "${ED}"/usr/bin/gdb "${ED}"/ |
599 |
- rm -f "${ED}"/usr/bin/* |
600 |
- mv "${ED}"/gdb "${ED}"/usr/bin/ |
601 |
-} |
602 |
|
603 |
diff --git a/sys-devel/gdb-apple/gdb-apple-962.ebuild b/sys-devel/gdb-apple/gdb-apple-962.ebuild |
604 |
deleted file mode 100644 |
605 |
index 52e53f7fc3..0000000000 |
606 |
--- a/sys-devel/gdb-apple/gdb-apple-962.ebuild |
607 |
+++ /dev/null |
608 |
@@ -1,64 +0,0 @@ |
609 |
-# Copyright 1999-2013 Gentoo Foundation |
610 |
-# Distributed under the terms of the GNU General Public License v2 |
611 |
-# $Id$ |
612 |
- |
613 |
-EAPI="3" |
614 |
- |
615 |
-inherit eutils flag-o-matic |
616 |
- |
617 |
-DESCRIPTION="Apple branch of the GNU Debugger, Xcode Tools 3.1.2" |
618 |
-HOMEPAGE="https://sourceware.org/gdb/" |
619 |
-SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/gdb-${PV}.tar.gz" |
620 |
- |
621 |
-LICENSE="APSL-2 GPL-2" |
622 |
-SLOT="0" |
623 |
- |
624 |
-KEYWORDS="~ppc-macos ~x64-macos ~x86-macos" |
625 |
- |
626 |
-IUSE="nls" |
627 |
- |
628 |
-RDEPEND=">=sys-libs/ncurses-5.2-r2 |
629 |
- =dev-db/sqlite-3*" |
630 |
-DEPEND="${RDEPEND} |
631 |
- nls? ( sys-devel/gettext )" |
632 |
- |
633 |
-S=${WORKDIR}/gdb-${PV}/src |
634 |
- |
635 |
-src_prepare() { |
636 |
- epatch "${FILESDIR}"/${PN}-768-texinfo.patch |
637 |
- epatch "${FILESDIR}"/${PN}-768-darwin-arch.patch |
638 |
- epatch "${FILESDIR}"/${PN}-962-darwin8.patch |
639 |
- epatch "${FILESDIR}"/${PN}-962-darwin64.patch |
640 |
- epatch "${FILESDIR}"/${PN}-962-demangle.patch |
641 |
- |
642 |
- # for FSF gcc / gcc-apple:42 |
643 |
- sed -e 's/-Wno-long-double//' -i gdb/config/*/macosx.mh |
644 |
-} |
645 |
- |
646 |
-src_configure() { |
647 |
- replace-flags -O? -O2 |
648 |
- econf \ |
649 |
- --disable-werror \ |
650 |
- $(use_enable nls) \ |
651 |
- || die |
652 |
-} |
653 |
- |
654 |
-src_install() { |
655 |
- emake DESTDIR="${D}" libdir=/nukeme includedir=/nukeme install || die |
656 |
- rm -r "${D}"/nukeme || die |
657 |
- rm -Rf "${ED}"/usr/${CHOST} || die |
658 |
- mv "${ED}"/usr/bin/gdb "${ED}"/ |
659 |
- rm -f "${ED}"/usr/bin/* |
660 |
- mv "${ED}"/gdb "${ED}"/usr/bin/ |
661 |
-} |
662 |
- |
663 |
-pkg_postinst() { |
664 |
- if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -ge 9 ]] ; then |
665 |
- elog "Due to increased security measures in 10.5 and up, gdb is" |
666 |
- elog "not able to get a mach task port when installed by Prefix" |
667 |
- elog "Portage, unprivileged. To make gdb fully functional you'll" |
668 |
- elog "have to perform the following steps:" |
669 |
- elog " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb" |
670 |
- elog " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb" |
671 |
- fi |
672 |
-} |
673 |
|
674 |
diff --git a/sys-devel/gdb-apple/gdb-apple-966.ebuild b/sys-devel/gdb-apple/gdb-apple-966.ebuild |
675 |
index c7c716ca04..15017df485 100644 |
676 |
--- a/sys-devel/gdb-apple/gdb-apple-966.ebuild |
677 |
+++ b/sys-devel/gdb-apple/gdb-apple-966.ebuild |
678 |
@@ -1,8 +1,7 @@ |
679 |
-# Copyright 1999-2013 Gentoo Foundation |
680 |
+# Copyright 1999-2017 Gentoo Foundation |
681 |
# Distributed under the terms of the GNU General Public License v2 |
682 |
-# $Id$ |
683 |
|
684 |
-EAPI="3" |
685 |
+EAPI="6" |
686 |
|
687 |
inherit eutils flag-o-matic |
688 |
|
689 |
@@ -33,6 +32,8 @@ src_prepare() { |
690 |
|
691 |
# for FSF gcc / gcc-apple:42 |
692 |
sed -e 's/-Wno-long-double//' -i gdb/config/*/macosx.mh |
693 |
+ |
694 |
+ eapply_user |
695 |
} |
696 |
|
697 |
src_configure() { |