commit: 86ad5a0e551a7299c4eee12a5a5848024584d958
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 3 13:32:45 2016 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Thu Mar 3 13:32:52 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86ad5a0e
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 <aballier <AT> gentoo.org>
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 bbd81fc..f95082e 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() {