commit:     edea879ee1652aa465a09c1afe4be82c699e426d
Author:     Rafael Kitover <rkitover <AT> gmail <DOT> com>
AuthorDate: Wed Jun 10 11:00:05 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Jun 24 10:25:34 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edea879e

dev-ml/ocaml-fileutils: dep 0.5.2 on ocaml<4.09

0.5.2 does not build on ocaml 4.09 or newer.

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Rafael Kitover <rkitover <AT> gmail.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-ml/ocaml-fileutils/ocaml-fileutils-0.5.2.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-ml/ocaml-fileutils/ocaml-fileutils-0.5.2.ebuild 
b/dev-ml/ocaml-fileutils/ocaml-fileutils-0.5.2.ebuild
index 40d4d20f42d..d0082d82170 100644
--- a/dev-ml/ocaml-fileutils/ocaml-fileutils-0.5.2.ebuild
+++ b/dev-ml/ocaml-fileutils/ocaml-fileutils-0.5.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -18,7 +18,10 @@ KEYWORDS="~amd64 ~x86"
 IUSE=""
 
 RDEPEND=""
-DEPEND="${RDEPEND}
+
+# Does not build on 4.09+.
+DEPEND="<dev-lang/ocaml-4.09:=[ocamlopt?]
+       ${RDEPEND}
        >=dev-ml/ounit-2.0.0"
 
 DOCS=( "AUTHORS.txt" "README.txt" "CHANGELOG.txt" "TODO.txt" )

Reply via email to