commit: d7773cd73f5f65c3b63b78f09b53580b8a430fbc Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Mar 4 07:56:53 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Mar 5 18:00:40 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7773cd7
dev-db/kyotocabinet: fix DeprecatedInsinto Signed-off-by: Sam James <sam <AT> gentoo.org> dev-db/kyotocabinet/kyotocabinet-1.2.77.ebuild | 13 ++++++------- 1 file 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 9ec32d27948..df0ceeaceb7 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 }