From 86ad5a0e551a7299c4eee12a5a5848024584d958 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Thu, 3 Mar 2016 14:32:45 +0100 Subject: [PATCH] dev-ml/camlzip: make ocaml 4.03 patch conditional as it breaks older ocaml Package-Manager: portage-2.2.27 Signed-off-by: Alexis Ballier --- dev-ml/camlzip/camlzip-1.05.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ml/camlzip/camlzip-1.05.ebuild b/dev-ml/camlzip/camlzip-1.05.ebuild index bbd81fc810e5..f95082e62301 100644 --- a/dev-ml/camlzip/camlzip-1.05.ebuild +++ b/dev-ml/camlzip/camlzip-1.05.ebuild @@ -21,7 +21,7 @@ RDEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?] DEPEND="${RDEPEND}" src_prepare() { - epatch "${FILESDIR}/ocaml-4.03.patch" + has_version '>=dev-lang/ocaml-4.03.0_beta1' && epatch "${FILESDIR}/ocaml-4.03.patch" } src_compile() { -- 2.26.2