diff options
author | Sam James <sam@gentoo.org> | 2023-03-18 19:45:01 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-03-18 19:45:12 +0000 |
commit | 386acd3bf49abd29f414d3d809e1ec0e98ef374d (patch) | |
tree | dea2e8e2d8fd0cc6834c185f585fe43d3ecc7c21 /app-arch | |
parent | sci-mathematics/pari: add 2.15.3, drop 2.15.2-r2 (diff) | |
download | gentoo-386acd3bf49abd29f414d3d809e1ec0e98ef374d.tar.gz gentoo-386acd3bf49abd29f414d3d809e1ec0e98ef374d.tar.bz2 gentoo-386acd3bf49abd29f414d3d809e1ec0e98ef374d.zip |
app-arch/xz-utils: fix USE=-doc
Closes: https://bugs.gentoo.org/902081
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/xz-utils/xz-utils-5.4.2.ebuild | 5 | ||||
-rw-r--r-- | app-arch/xz-utils/xz-utils-9999.ebuild | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/app-arch/xz-utils/xz-utils-5.4.2.ebuild b/app-arch/xz-utils/xz-utils-5.4.2.ebuild index 9ab5ddb785d6..a6b8dfa60f8f 100644 --- a/app-arch/xz-utils/xz-utils-5.4.2.ebuild +++ b/app-arch/xz-utils/xz-utils-5.4.2.ebuild @@ -111,7 +111,10 @@ multilib_src_install() { multilib_src_install_all() { find "${ED}" -type f -name '*.la' -delete || die - rm "${ED}"/usr/share/doc/${PF}/COPYING* || die + + if use doc ; then + rm "${ED}"/usr/share/doc/${PF}/COPYING* || die + fi } pkg_preinst() { diff --git a/app-arch/xz-utils/xz-utils-9999.ebuild b/app-arch/xz-utils/xz-utils-9999.ebuild index 9ab5ddb785d6..a6b8dfa60f8f 100644 --- a/app-arch/xz-utils/xz-utils-9999.ebuild +++ b/app-arch/xz-utils/xz-utils-9999.ebuild @@ -111,7 +111,10 @@ multilib_src_install() { multilib_src_install_all() { find "${ED}" -type f -name '*.la' -delete || die - rm "${ED}"/usr/share/doc/${PF}/COPYING* || die + + if use doc ; then + rm "${ED}"/usr/share/doc/${PF}/COPYING* || die + fi } pkg_preinst() { |