1 |
commit: dc75c9d60d5ed9e19693d7608f47d079ce5cf4b2 |
2 |
Author: Gokturk Yuksek <gokturk <AT> binghamton <DOT> edu> |
3 |
AuthorDate: Tue Sep 22 10:21:08 2015 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 1 08:09:43 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc75c9d6 |
7 |
|
8 |
sys-apps/rng-tools: handle if redirecting output to a file fails in ebuild |
9 |
|
10 |
Use '|| die' to handle if redirecting output to a file fails. |
11 |
|
12 |
Package-Manager: portage-2.2.20.1 |
13 |
|
14 |
sys-apps/rng-tools/rng-tools-5-r2.ebuild | 2 +- |
15 |
1 file changed, 1 insertion(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/sys-apps/rng-tools/rng-tools-5-r2.ebuild b/sys-apps/rng-tools/rng-tools-5-r2.ebuild |
18 |
index f32feff..61e60b0 100644 |
19 |
--- a/sys-apps/rng-tools/rng-tools-5-r2.ebuild |
20 |
+++ b/sys-apps/rng-tools/rng-tools-5-r2.ebuild |
21 |
@@ -21,7 +21,7 @@ RDEPEND="${DEPEND} |
22 |
selinux? ( sec-policy/selinux-rngd )" |
23 |
|
24 |
src_prepare() { |
25 |
- echo 'bin_PROGRAMS = randstat' >> contrib/Makefile.am |
26 |
+ echo 'bin_PROGRAMS = randstat' >> contrib/Makefile.am || die |
27 |
epatch "${FILESDIR}"/test-for-argp.patch |
28 |
epatch "${FILESDIR}"/${P}-fix-textrels-on-PIC-x86.patch #469962 |
29 |
epatch "${FILESDIR}"/${P}-man-fill-watermark.patch #555094 |