1 |
commit: fdc5c9ad82c8360a04730109849235deb839db89 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 31 09:06:19 2016 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 31 09:06:43 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdc5c9ad |
7 |
|
8 |
sys-devel/make: Removed old. |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
...x_double_colon_rules_plus_parallel_builds.patch | 139 --------------------- |
14 |
sys-devel/make/make-4.2-r1.ebuild | 54 -------- |
15 |
sys-devel/make/make-4.2.ebuild | 49 -------- |
16 |
3 files changed, 242 deletions(-) |
17 |
|
18 |
diff --git a/sys-devel/make/files/make-4.1-fix_double_colon_rules_plus_parallel_builds.patch b/sys-devel/make/files/make-4.1-fix_double_colon_rules_plus_parallel_builds.patch |
19 |
deleted file mode 100644 |
20 |
index af7a9f2..0000000 |
21 |
--- a/sys-devel/make/files/make-4.1-fix_double_colon_rules_plus_parallel_builds.patch |
22 |
+++ /dev/null |
23 |
@@ -1,139 +0,0 @@ |
24 |
-From 9bb994e8319c2b153cd3d6d61e2c2882895e7c3a Mon Sep 17 00:00:00 2001 |
25 |
-From: Joe Crayne <oh.hello.joe@×××××.com> |
26 |
-Date: Sat, 21 May 2016 21:26:00 +0000 |
27 |
-Subject: [SV 44742] Fix double-colon rules plus parallel builds. |
28 |
- |
29 |
-* remake.c (update_file): Don't update double-colon target status |
30 |
-if we're still building targets. |
31 |
-(ftime_t): Don't propagate timestamps for double-colon targets that |
32 |
-we've not examined yet. |
33 |
-* tests/scripts/features/double_colon: Add parallel build tests. |
34 |
- |
35 |
-Copyright-paperwork-exempt: yes |
36 |
---- |
37 |
-diff --git a/remake.c b/remake.c |
38 |
-index 63ee648..df1a9e0 100644 |
39 |
---- a/remake.c |
40 |
-+++ b/remake.c |
41 |
-@@ -320,7 +320,7 @@ update_file (struct file *file, unsigned int depth) |
42 |
- && !f->dontcare && f->no_diag)) |
43 |
- { |
44 |
- DBF (DB_VERBOSE, _("Pruning file '%s'.\n")); |
45 |
-- return f->command_state == cs_finished ? f->update_status : 0; |
46 |
-+ return f->command_state == cs_finished ? f->update_status : us_success; |
47 |
- } |
48 |
- } |
49 |
- |
50 |
-@@ -344,12 +344,9 @@ update_file (struct file *file, unsigned int depth) |
51 |
- |
52 |
- if (f->command_state == cs_running |
53 |
- || f->command_state == cs_deps_running) |
54 |
-- { |
55 |
-- /* Don't run the other :: rules for this |
56 |
-- file until this rule is finished. */ |
57 |
-- status = us_success; |
58 |
-- break; |
59 |
-- } |
60 |
-+ /* Don't run other :: rules for this target until |
61 |
-+ this rule is finished. */ |
62 |
-+ return us_success; |
63 |
- |
64 |
- if (new > status) |
65 |
- status = new; |
66 |
-@@ -1274,6 +1271,7 @@ FILE_TIMESTAMP |
67 |
- f_mtime (struct file *file, int search) |
68 |
- { |
69 |
- FILE_TIMESTAMP mtime; |
70 |
-+ int propagate_timestamp; |
71 |
- |
72 |
- /* File's mtime is not known; must get it from the system. */ |
73 |
- |
74 |
-@@ -1450,10 +1448,13 @@ f_mtime (struct file *file, int search) |
75 |
- } |
76 |
- } |
77 |
- |
78 |
-- /* Store the mtime into all the entries for this file. */ |
79 |
-+ /* Store the mtime into all the entries for this file for which it is safe |
80 |
-+ to do so: avoid propagating timestamps to double-colon rules that haven't |
81 |
-+ been examined so they're run or not based on the pre-update timestamp. */ |
82 |
- if (file->double_colon) |
83 |
- file = file->double_colon; |
84 |
- |
85 |
-+ propagate_timestamp = file->updated; |
86 |
- do |
87 |
- { |
88 |
- /* If this file is not implicit but it is intermediate then it was |
89 |
-@@ -1465,7 +1466,8 @@ f_mtime (struct file *file, int search) |
90 |
- && !file->tried_implicit && file->intermediate) |
91 |
- file->intermediate = 0; |
92 |
- |
93 |
-- file->last_mtime = mtime; |
94 |
-+ if (file->updated == propagate_timestamp) |
95 |
-+ file->last_mtime = mtime; |
96 |
- file = file->prev; |
97 |
- } |
98 |
- while (file != 0); |
99 |
-diff --git a/tests/scripts/features/double_colon b/tests/scripts/features/double_colon |
100 |
-index 1097775..80ddb31 100644 |
101 |
---- a/tests/scripts/features/double_colon |
102 |
-+++ b/tests/scripts/features/double_colon |
103 |
-@@ -151,8 +151,7 @@ two'); |
104 |
- |
105 |
- unlink('result','one','two'); |
106 |
- |
107 |
--# TEST 10: check for proper backslash handling |
108 |
--# Savannah bug #33399 |
109 |
-+# TEST 10: SV 33399 : check for proper backslash handling |
110 |
- |
111 |
- run_make_test(' |
112 |
- a\ xb :: ; @echo one |
113 |
-@@ -160,5 +159,47 @@ a\ xb :: ; @echo two |
114 |
- ', |
115 |
- '', "one\ntwo\n"); |
116 |
- |
117 |
-+# Test 11: SV 44742 : All double-colon rules should be run in parallel build. |
118 |
-+ |
119 |
-+run_make_test('result :: 01 |
120 |
-+ @echo update |
121 |
-+ @touch $@ |
122 |
-+result :: 02 |
123 |
-+ @echo update |
124 |
-+ @touch $@ |
125 |
-+result :: 03 |
126 |
-+ @echo update |
127 |
-+ @touch $@ |
128 |
-+result :: 04 |
129 |
-+ @echo update |
130 |
-+ @touch $@ |
131 |
-+result :: 05 |
132 |
-+ @echo update |
133 |
-+ @touch $@ |
134 |
-+01 02 03 04 05: |
135 |
-+ @touch 01 02 03 04 05 |
136 |
-+', |
137 |
-+ '-j10 result', "update\nupdate\nupdate\nupdate\nupdate\n"); |
138 |
-+ |
139 |
-+unlink('result', '01', '02', '03', '04', '05'); |
140 |
-+ |
141 |
-+# Test 12: SV 44742 : Double-colon rules with parallelism |
142 |
-+ |
143 |
-+run_make_test(' |
144 |
-+root: all |
145 |
-+ echo root |
146 |
-+all:: |
147 |
-+ echo all_one |
148 |
-+all:: 3 |
149 |
-+ echo all_two |
150 |
-+%: |
151 |
-+ sleep $* |
152 |
-+', |
153 |
-+ '-rs -j2 1 2 root', "all_one\nall_two\nroot\n"); |
154 |
-+ |
155 |
- # This tells the test driver that the perl test script executed properly. |
156 |
- 1; |
157 |
-+ |
158 |
-+### Local Variables: |
159 |
-+### eval: (setq whitespace-action (delq 'auto-cleanup whitespace-action)) |
160 |
-+### End: |
161 |
--- |
162 |
-cgit v0.9.0.2 |
163 |
|
164 |
diff --git a/sys-devel/make/make-4.2-r1.ebuild b/sys-devel/make/make-4.2-r1.ebuild |
165 |
deleted file mode 100644 |
166 |
index 4f5d2e3..0000000 |
167 |
--- a/sys-devel/make/make-4.2-r1.ebuild |
168 |
+++ /dev/null |
169 |
@@ -1,54 +0,0 @@ |
170 |
-# Copyright 1999-2016 Gentoo Foundation |
171 |
-# Distributed under the terms of the GNU General Public License v2 |
172 |
-# $Id$ |
173 |
- |
174 |
-EAPI=5 |
175 |
- |
176 |
-inherit flag-o-matic eutils |
177 |
- |
178 |
-DESCRIPTION="Standard tool to compile source trees" |
179 |
-HOMEPAGE="https://www.gnu.org/software/make/make.html" |
180 |
-SRC_URI="mirror://gnu//make/${P}.tar.bz2" |
181 |
- |
182 |
-LICENSE="GPL-3+" |
183 |
-SLOT="0" |
184 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
185 |
-IUSE="guile nls static" |
186 |
- |
187 |
-CDEPEND="guile? ( >=dev-scheme/guile-1.8:= )" |
188 |
-DEPEND="${CDEPEND} |
189 |
- nls? ( sys-devel/gettext )" |
190 |
-RDEPEND="${CDEPEND} |
191 |
- nls? ( virtual/libintl )" |
192 |
- |
193 |
-PATCHES=( |
194 |
- "${FILESDIR}"/${PN}-3.82-darwin-library_search-dylib.patch |
195 |
-) |
196 |
- |
197 |
-src_prepare() { |
198 |
- epatch "${PATCHES[@]}" |
199 |
- |
200 |
- # Revert this upstream commit until a real fix is available. |
201 |
- # See https://bugs.gentoo.org/583812 |
202 |
- EPATCH_OPTS="-R" \ |
203 |
- epatch "${FILESDIR}"/${PN}-4.1-fix_double_colon_rules_plus_parallel_builds.patch |
204 |
-} |
205 |
- |
206 |
-src_configure() { |
207 |
- use static && append-ldflags -static |
208 |
- econf \ |
209 |
- --program-prefix=g \ |
210 |
- $(use_with guile) \ |
211 |
- $(use_enable nls) |
212 |
-} |
213 |
- |
214 |
-src_install() { |
215 |
- emake DESTDIR="${D}" install |
216 |
- dodoc AUTHORS NEWS README* |
217 |
- if [[ ${USERLAND} == "GNU" ]] ; then |
218 |
- # we install everywhere as 'gmake' but on GNU systems, |
219 |
- # symlink 'make' to 'gmake' |
220 |
- dosym gmake /usr/bin/make |
221 |
- dosym gmake.1 /usr/share/man/man1/make.1 |
222 |
- fi |
223 |
-} |
224 |
|
225 |
diff --git a/sys-devel/make/make-4.2.ebuild b/sys-devel/make/make-4.2.ebuild |
226 |
deleted file mode 100644 |
227 |
index c57efde..0000000 |
228 |
--- a/sys-devel/make/make-4.2.ebuild |
229 |
+++ /dev/null |
230 |
@@ -1,49 +0,0 @@ |
231 |
-# Copyright 1999-2016 Gentoo Foundation |
232 |
-# Distributed under the terms of the GNU General Public License v2 |
233 |
-# $Id$ |
234 |
- |
235 |
-EAPI=5 |
236 |
- |
237 |
-inherit flag-o-matic eutils |
238 |
- |
239 |
-DESCRIPTION="Standard tool to compile source trees" |
240 |
-HOMEPAGE="https://www.gnu.org/software/make/make.html" |
241 |
-SRC_URI="mirror://gnu//make/${P}.tar.bz2" |
242 |
- |
243 |
-LICENSE="GPL-3+" |
244 |
-SLOT="0" |
245 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
246 |
-IUSE="guile nls static" |
247 |
- |
248 |
-CDEPEND="guile? ( >=dev-scheme/guile-1.8:= )" |
249 |
-DEPEND="${CDEPEND} |
250 |
- nls? ( sys-devel/gettext )" |
251 |
-RDEPEND="${CDEPEND} |
252 |
- nls? ( virtual/libintl )" |
253 |
- |
254 |
-PATCHES=( |
255 |
- "${FILESDIR}"/${PN}-3.82-darwin-library_search-dylib.patch |
256 |
-) |
257 |
- |
258 |
-src_prepare() { |
259 |
- epatch "${PATCHES[@]}" |
260 |
-} |
261 |
- |
262 |
-src_configure() { |
263 |
- use static && append-ldflags -static |
264 |
- econf \ |
265 |
- --program-prefix=g \ |
266 |
- $(use_with guile) \ |
267 |
- $(use_enable nls) |
268 |
-} |
269 |
- |
270 |
-src_install() { |
271 |
- emake DESTDIR="${D}" install |
272 |
- dodoc AUTHORS NEWS README* |
273 |
- if [[ ${USERLAND} == "GNU" ]] ; then |
274 |
- # we install everywhere as 'gmake' but on GNU systems, |
275 |
- # symlink 'make' to 'gmake' |
276 |
- dosym gmake /usr/bin/make |
277 |
- dosym gmake.1 /usr/share/man/man1/make.1 |
278 |
- fi |
279 |
-} |