1 |
vapier 13/03/27 18:35:26 |
2 |
|
3 |
Modified: suite3270-3.3.12_p12.ebuild ChangeLog |
4 |
Log: |
5 |
Fix random parallel install errors. |
6 |
|
7 |
(Portage version: 2.2.0_alpha169/cvs/Linux x86_64, signed Manifest commit with key FB7C4156) |
8 |
|
9 |
Revision Changes Path |
10 |
1.6 net-misc/suite3270/suite3270-3.3.12_p12.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/suite3270/suite3270-3.3.12_p12.ebuild?rev=1.6&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/suite3270/suite3270-3.3.12_p12.ebuild?rev=1.6&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/suite3270/suite3270-3.3.12_p12.ebuild?r1=1.5&r2=1.6 |
15 |
|
16 |
Index: suite3270-3.3.12_p12.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/suite3270/suite3270-3.3.12_p12.ebuild,v |
19 |
retrieving revision 1.5 |
20 |
retrieving revision 1.6 |
21 |
diff -u -r1.5 -r1.6 |
22 |
--- suite3270-3.3.12_p12.ebuild 27 Mar 2013 18:04:27 -0000 1.5 |
23 |
+++ suite3270-3.3.12_p12.ebuild 27 Mar 2013 18:35:26 -0000 1.6 |
24 |
@@ -1,6 +1,6 @@ |
25 |
# Copyright 1999-2013 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/suite3270/suite3270-3.3.12_p12.ebuild,v 1.5 2013/03/27 18:04:27 vapier Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/suite3270/suite3270-3.3.12_p12.ebuild,v 1.6 2013/03/27 18:35:26 vapier Exp $ |
29 |
|
30 |
EAPI="4" |
31 |
|
32 |
@@ -51,6 +51,22 @@ |
33 |
$(usex X x3270 '') |
34 |
} |
35 |
|
36 |
+src_prepare() { |
37 |
+ # Some subdirs (like c3270/x3270/s3270) install the same set of data files |
38 |
+ # (they have the same contents). Wrap that in a retry to avoid errors. |
39 |
+ cat <<-EOF > _install |
40 |
+ #!/bin/sh |
41 |
+ for n in {1..5}; do |
42 |
+ install "\$@" && exit |
43 |
+ echo "retrying ..." |
44 |
+ done |
45 |
+ EOF |
46 |
+ chmod a+rx _install |
47 |
+ sed -i \ |
48 |
+ -e "s:@INSTALL@:${S}/_install:" \ |
49 |
+ */Makefile.in |
50 |
+} |
51 |
+ |
52 |
src_configure() { |
53 |
local p myconf |
54 |
# Run configures in parallel! |
55 |
|
56 |
|
57 |
|
58 |
1.49 net-misc/suite3270/ChangeLog |
59 |
|
60 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/suite3270/ChangeLog?rev=1.49&view=markup |
61 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/suite3270/ChangeLog?rev=1.49&content-type=text/plain |
62 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/suite3270/ChangeLog?r1=1.48&r2=1.49 |
63 |
|
64 |
Index: ChangeLog |
65 |
=================================================================== |
66 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/suite3270/ChangeLog,v |
67 |
retrieving revision 1.48 |
68 |
retrieving revision 1.49 |
69 |
diff -u -r1.48 -r1.49 |
70 |
--- ChangeLog 27 Mar 2013 18:04:27 -0000 1.48 |
71 |
+++ ChangeLog 27 Mar 2013 18:35:26 -0000 1.49 |
72 |
@@ -1,6 +1,9 @@ |
73 |
# ChangeLog for net-misc/suite3270 |
74 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
75 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/suite3270/ChangeLog,v 1.48 2013/03/27 18:04:27 vapier Exp $ |
76 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/suite3270/ChangeLog,v 1.49 2013/03/27 18:35:26 vapier Exp $ |
77 |
+ |
78 |
+ 27 Mar 2013; Mike Frysinger <vapier@g.o> suite3270-3.3.12_p12.ebuild: |
79 |
+ Fix random parallel install errors. |
80 |
|
81 |
27 Mar 2013; Mike Frysinger <vapier@g.o> +files/Makefile.in, |
82 |
suite3270-3.3.12_p12.ebuild: |