commit:     0792f716e96caf2e6668fd7d95a01fe9e5213196
Author:     alfr <alfr0451 <AT> protonmail <DOT> com>
AuthorDate: Thu Jul 27 05:47:47 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jul 27 06:00:54 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0792f716

dev-lisp/asdf: fix install for USE=doc

Further, the documentation is always built from the texinfo.

Closes: https://bugs.gentoo.org/883439
Signed-off-by: alfr <alfr0451 <AT> protonmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lisp/asdf/asdf-3.3.5.ebuild | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/dev-lisp/asdf/asdf-3.3.5.ebuild b/dev-lisp/asdf/asdf-3.3.5.ebuild
index ec2711fa383a..9acbc8d5209d 100644
--- a/dev-lisp/asdf/asdf-3.3.5.ebuild
+++ b/dev-lisp/asdf/asdf-3.3.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -17,8 +17,8 @@ RESTRICT="!test? ( test )"
 
 DEPEND="!dev-lisp/cl-${PN}
        !<dev-lisp/asdf-2.33-r3
-       doc? ( virtual/texi2dvi )
        test? ( virtual/commonlisp )"
+BDEPEND="doc? ( sys-apps/texinfo )"
 PDEPEND="virtual/commonlisp
        ~dev-lisp/uiop-${PV}"
 
@@ -31,15 +31,14 @@ install_docs() {
        (
                cd doc || die
                dodoc *.{html,css,ico,png} ${PN}.pdf
-               dodoc -r asdf
-       )
+               doinfo ${PN}.info
 
-       if has_version ">=dev-lisp/sbcl-1.4.0" ; then
-               (
-                       cd doc || die
-                       doinfo ${PN}.info
-               )
-       fi
+               if has_version -b '<sys-apps/texinfo-7'; then
+                       dodoc -r asdf
+               else
+                       dodoc -r asdf_html
+               fi
+       )
 }
 
 src_compile() {

Reply via email to