commit: ed6eeffa475e355955622ab2a0ef6c544b0beba6 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Thu Feb 18 23:21:14 2016 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Thu Feb 18 23:21:25 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed6eeffa
dev-util/radare2: don't try to install doc/ subdirs, bug #574866 Reported-by: Andrey Golovizin Bug: https://bugs.gentoo.org/574866 Package-Manager: portage-2.2.27 dev-util/radare2/radare2-0.10.0.ebuild | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dev-util/radare2/radare2-0.10.0.ebuild b/dev-util/radare2/radare2-0.10.0.ebuild index 8c8badd..c43c457 100644 --- a/dev-util/radare2/radare2-0.10.0.ebuild +++ b/dev-util/radare2/radare2-0.10.0.ebuild @@ -28,3 +28,15 @@ src_configure() { econf \ $(use_with ssl openssl) } + +src_install() { + # a workaround for unstable $(INSTALL) call, bug #574866 + local d + for d in doc/*; do + if [[ -d $d ]]; then + rm -rfv "$d" || die "failed to delete '$d'" + fi + done + + default +}