summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-04 07:56:53 +0000
committerSam James <sam@gentoo.org>2021-03-05 18:00:40 +0000
commitd7773cd73f5f65c3b63b78f09b53580b8a430fbc (patch)
tree4718d74e64077cd0f17dc4b09efc9c88946536ff /dev-db/kyotocabinet
parentapp-text/xmlformat: port to EAPI 7 (diff)
downloadgentoo-d7773cd73f5f65c3b63b78f09b53580b8a430fbc.tar.gz
gentoo-d7773cd73f5f65c3b63b78f09b53580b8a430fbc.tar.bz2
gentoo-d7773cd73f5f65c3b63b78f09b53580b8a430fbc.zip
dev-db/kyotocabinet: fix DeprecatedInsinto
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-db/kyotocabinet')
-rw-r--r--dev-db/kyotocabinet/kyotocabinet-1.2.77.ebuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/dev-db/kyotocabinet/kyotocabinet-1.2.77.ebuild b/dev-db/kyotocabinet/kyotocabinet-1.2.77.ebuild
index 9ec32d27948a..df0ceeaceb78 100644
--- a/dev-db/kyotocabinet/kyotocabinet-1.2.77.ebuild
+++ b/dev-db/kyotocabinet/kyotocabinet-1.2.77.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="7"
+EAPI=7
inherit autotools toolchain-funcs
@@ -57,13 +57,12 @@ src_install() {
find "${ED}" -name '*.a' -delete || die
fi
- if use examples; then
- insinto /usr/share/${PF}/example
- doins example/*
+ if use doc; then
+ dodoc -r doc/*
fi
- if use doc; then
- insinto /usr/share/doc/${PF}
- doins -r doc/*
+ if use examples; then
+ docinto example
+ dodoc example/*
fi
}