summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-03-27 18:35:26 +0000
committerMike Frysinger <vapier@gentoo.org>2013-03-27 18:35:26 +0000
commitc9efec320e31d9cee7cfc598f6c8818ec8760f40 (patch)
tree7a8ff71b268d35980c836d0a9efe5b138fb7772f /net-misc/suite3270
parentFix mistake caused by last minute correction to make repoman happy. (diff)
downloadgentoo-2-c9efec320e31d9cee7cfc598f6c8818ec8760f40.tar.gz
gentoo-2-c9efec320e31d9cee7cfc598f6c8818ec8760f40.tar.bz2
gentoo-2-c9efec320e31d9cee7cfc598f6c8818ec8760f40.zip
Fix random parallel install errors.
(Portage version: 2.2.0_alpha169/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Diffstat (limited to 'net-misc/suite3270')
-rw-r--r--net-misc/suite3270/ChangeLog5
-rw-r--r--net-misc/suite3270/suite3270-3.3.12_p12.ebuild18
2 files changed, 21 insertions, 2 deletions
diff --git a/net-misc/suite3270/ChangeLog b/net-misc/suite3270/ChangeLog
index 46dae8e6e56f..74c68115ec10 100644
--- a/net-misc/suite3270/ChangeLog
+++ b/net-misc/suite3270/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/suite3270
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/suite3270/ChangeLog,v 1.48 2013/03/27 18:04:27 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/suite3270/ChangeLog,v 1.49 2013/03/27 18:35:26 vapier Exp $
+
+ 27 Mar 2013; Mike Frysinger <vapier@gentoo.org> suite3270-3.3.12_p12.ebuild:
+ Fix random parallel install errors.
27 Mar 2013; Mike Frysinger <vapier@gentoo.org> +files/Makefile.in,
suite3270-3.3.12_p12.ebuild:
diff --git a/net-misc/suite3270/suite3270-3.3.12_p12.ebuild b/net-misc/suite3270/suite3270-3.3.12_p12.ebuild
index 801a3b62ed9d..3550fc65df38 100644
--- a/net-misc/suite3270/suite3270-3.3.12_p12.ebuild
+++ b/net-misc/suite3270/suite3270-3.3.12_p12.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $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 $
+# $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 $
EAPI="4"
@@ -51,6 +51,22 @@ suite3270_makelist() {
$(usex X x3270 '')
}
+src_prepare() {
+ # Some subdirs (like c3270/x3270/s3270) install the same set of data files
+ # (they have the same contents). Wrap that in a retry to avoid errors.
+ cat <<-EOF > _install
+ #!/bin/sh
+ for n in {1..5}; do
+ install "\$@" && exit
+ echo "retrying ..."
+ done
+ EOF
+ chmod a+rx _install
+ sed -i \
+ -e "s:@INSTALL@:${S}/_install:" \
+ */Makefile.in
+}
+
src_configure() {
local p myconf
# Run configures in parallel!