summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2016-02-18 23:21:14 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2016-02-18 23:21:25 +0000
commited6eeffa475e355955622ab2a0ef6c544b0beba6 (patch)
tree2fd9a9156b21fa0b10a4869c00832717fb6dfc2f /dev-util/radare2
parentdev-java/metadata-extractor: Remove old (diff)
downloadgentoo-ed6eeffa475e355955622ab2a0ef6c544b0beba6.tar.gz
gentoo-ed6eeffa475e355955622ab2a0ef6c544b0beba6.tar.bz2
gentoo-ed6eeffa475e355955622ab2a0ef6c544b0beba6.zip
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
Diffstat (limited to 'dev-util/radare2')
-rw-r--r--dev-util/radare2/radare2-0.10.0.ebuild12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-util/radare2/radare2-0.10.0.ebuild b/dev-util/radare2/radare2-0.10.0.ebuild
index 8c8badd448ad..c43c45737d8d 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
+}