commit:     0a30ddbb15bc54d1dcba27e05e15c2093ab105fe
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 10 10:23:08 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Jan 10 10:23:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a30ddbb

dev-ml/ocamlbuild: tests work only with ocamlopt

Closes: https://bugs.gentoo.org/830843
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/ocamlbuild/ocamlbuild-0.14.0-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-ml/ocamlbuild/ocamlbuild-0.14.0-r1.ebuild 
b/dev-ml/ocamlbuild/ocamlbuild-0.14.0-r1.ebuild
index ba6c5777b382..2e56df10a32b 100644
--- a/dev-ml/ocamlbuild/ocamlbuild-0.14.0-r1.ebuild
+++ b/dev-ml/ocamlbuild/ocamlbuild-0.14.0-r1.ebuild
@@ -12,6 +12,7 @@ SLOT="0/${PV}"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 x86 ~amd64-linux 
~x86-linux"
 IUSE="+ocamlopt test"
 RESTRICT="!test? ( test )"
+REQUIRED_USE="test? ( ocamlopt )"
 
 RDEPEND=">=dev-lang/ocaml-4.02.3-r1:=[ocamlopt?]"
 DEPEND="${RDEPEND}

Reply via email to