summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-10-17 11:30:54 +0000
committerSam James <sam@gentoo.org>2020-10-17 11:31:20 +0000
commit3a8bfd8768607691f52c17153d9585d0e4ceaac0 (patch)
tree15bbde8b20553b7cbafedef70c3768f5cbec3088
parentwww-client/netsurf: install manpages on 3.10-r3 (diff)
downloadgentoo-3a8bfd8768607691f52c17153d9585d0e4ceaac0.tar.gz
gentoo-3a8bfd8768607691f52c17153d9585d0e4ceaac0.tar.bz2
gentoo-3a8bfd8768607691f52c17153d9585d0e4ceaac0.zip
dev-ml/ocaml-gettext: depend on earlier OCaml for old rev
The older version uses -unsafe-string which is forbidden in 4.10.0. Closes: https://bugs.gentoo.org/749690 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r2.ebuild (renamed from dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r1.ebuild)6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r1.ebuild b/dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r2.ebuild
index c4643c7c33ae..a71acc3dd624 100644
--- a/dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r1.ebuild
+++ b/dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r2.ebuild
@@ -17,7 +17,11 @@ RESTRICT="!test? ( test )"
PATCHES=( "${FILESDIR}"/ocaml-unsafe-string.patch )
-RDEPEND=">=dev-lang/ocaml-3.12.1:=
+# OCaml 4.10 does not support -unsafe-string by default
+# bug #666149
+RDEPEND="
+ >=dev-lang/ocaml-3.12.1:=
+ <dev-lang/ocaml-4.10.0:=
>=dev-ml/ocaml-fileutils-0.4.0:=
>=dev-ml/camomile-0.8.3:=
sys-devel/gettext