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
This commit is contained in:
Sergei Trofimovich
2016-02-18 23:21:14 +00:00
parent 69a466955c
commit ed6eeffa47

View File

@@ -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
}