commit:     99d99a6522f856961d7a1bce5d14bbb4a10f330e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 13 11:16:36 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 13 15:23:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99d99a65

dev-ml/ocaml-gettext: use BDEPEND in EAPI 7

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r3.ebuild | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r3.ebuild 
b/dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r3.ebuild
index 60ff476d544..66873aa06ef 100644
--- a/dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r3.ebuild
+++ b/dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit findlib eutils autotools
+inherit autotools findlib
 
 DESCRIPTION="Provides support for internationalization of OCaml program"
 HOMEPAGE="https://github.com/gildor478/ocaml-gettext";
@@ -17,6 +17,12 @@ RESTRICT="!test? ( test )"
 
 PATCHES=( "${FILESDIR}"/ocaml-unsafe-string.patch )
 
+BDEPEND="
+       doc? (
+               app-text/docbook-xsl-stylesheets
+               dev-libs/libxslt
+       )
+"
 # OCaml 4.10 does not support -unsafe-string by default
 # bug #666149
 RDEPEND="
@@ -28,11 +34,8 @@ RDEPEND="
        dev-ml/camlp4:=
        !dev-ml/ocaml-gettext-stub
 "
-DEPEND="${RDEPEND}
-       doc? (
-               app-text/docbook-xsl-stylesheets
-               dev-libs/libxslt
-       )
+DEPEND="
+       ${RDEPEND}
        test? ( dev-ml/ounit )
 "
 

Reply via email to