commit:     8acdf156469dc779f94e75da4042bc96681d50a4
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  1 07:25:24 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Jul  1 07:25:24 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8acdf156

dev-ml/ocaml-ctypes: fix also stable version

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/ocaml-ctypes/ocaml-ctypes-0.17.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ml/ocaml-ctypes/ocaml-ctypes-0.17.1-r1.ebuild 
b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.17.1-r1.ebuild
index 375830244949..673fa173a3a8 100644
--- a/dev-ml/ocaml-ctypes/ocaml-ctypes-0.17.1-r1.ebuild
+++ b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.17.1-r1.ebuild
@@ -15,14 +15,14 @@ KEYWORDS="amd64 arm ~arm64 x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 
-DEPEND="dev-ml/findlib[ocamlopt]"
 RDEPEND="
-       >=dev-lang/ocaml-4.02:=[ocamlopt]
+       >=dev-lang/ocaml-4.02:=
        >=dev-libs/libffi-3.3_rc0:=
        dev-ml/integers:=
 "
 DEPEND="${RDEPEND}
        test? ( dev-ml/ounit2 dev-ml/lwt )"
+REQUIRED_USE="ocamlopt"
 
 src_prepare() {
        sed -e 's/oUnit/ounit2/g' -i Makefile.tests || die

Reply via email to