From: Alexis Ballier Date: Thu, 3 Mar 2016 13:32:45 +0000 (+0100) Subject: dev-ml/camlzip: make ocaml 4.03 patch conditional as it breaks older ocaml X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=86ad5a0e551a7299c4eee12a5a5848024584d958;p=gentoo.git 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 --- 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() {