Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/
Date: Thu, 18 Feb 2016 23:21:39
Message-Id: 1455837685.ed6eeffa475e355955622ab2a0ef6c544b0beba6.slyfox@gentoo
1 commit: ed6eeffa475e355955622ab2a0ef6c544b0beba6
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 18 23:21:14 2016 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 18 23:21:25 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed6eeffa
7
8 dev-util/radare2: don't try to install doc/ subdirs, bug #574866
9
10 Reported-by: Andrey Golovizin
11 Bug: https://bugs.gentoo.org/574866
12
13 Package-Manager: portage-2.2.27
14
15 dev-util/radare2/radare2-0.10.0.ebuild | 12 ++++++++++++
16 1 file changed, 12 insertions(+)
17
18 diff --git a/dev-util/radare2/radare2-0.10.0.ebuild b/dev-util/radare2/radare2-0.10.0.ebuild
19 index 8c8badd..c43c457 100644
20 --- a/dev-util/radare2/radare2-0.10.0.ebuild
21 +++ b/dev-util/radare2/radare2-0.10.0.ebuild
22 @@ -28,3 +28,15 @@ src_configure() {
23 econf \
24 $(use_with ssl openssl)
25 }
26 +
27 +src_install() {
28 + # a workaround for unstable $(INSTALL) call, bug #574866
29 + local d
30 + for d in doc/*; do
31 + if [[ -d $d ]]; then
32 + rm -rfv "$d" || die "failed to delete '$d'"
33 + fi
34 + done
35 +
36 + default
37 +}