summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-05-03 17:08:42 +0200
committerAlexis Ballier <aballier@gentoo.org>2016-05-03 19:44:22 +0200
commit7aab055ad4a92787d3216d12faf17fa2d16a7a23 (patch)
treec4c692b7ffdce5042b72cc03645becb221c4dae3 /dev-ml/ppx_sexp_value/ppx_sexp_value-113.33.00.ebuild
parentdev-ml/ppx_typerep_conv: fix build with ocaml 4.03 (diff)
downloadgentoo-7aab055ad4a92787d3216d12faf17fa2d16a7a23.tar.gz
gentoo-7aab055ad4a92787d3216d12faf17fa2d16a7a23.tar.bz2
gentoo-7aab055ad4a92787d3216d12faf17fa2d16a7a23.zip
dev-ml/ppx_sexp_value: fix build with ocaml 4.03
Package-Manager: portage-2.2.28 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ml/ppx_sexp_value/ppx_sexp_value-113.33.00.ebuild')
-rw-r--r--dev-ml/ppx_sexp_value/ppx_sexp_value-113.33.00.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-ml/ppx_sexp_value/ppx_sexp_value-113.33.00.ebuild b/dev-ml/ppx_sexp_value/ppx_sexp_value-113.33.00.ebuild
index 5d69b0b8e6b8..09fc8076f4e6 100644
--- a/dev-ml/ppx_sexp_value/ppx_sexp_value-113.33.00.ebuild
+++ b/dev-ml/ppx_sexp_value/ppx_sexp_value-113.33.00.ebuild
@@ -24,6 +24,10 @@ DEPEND="dev-ml/ppx_tools:=
RDEPEND="${DEPEND}"
DEPEND="${DEPEND} dev-ml/opam"
+src_prepare() {
+ has_version '>=dev-lang/ocaml-4.03' && epatch "${FILESDIR}/oc43.patch"
+}
+
src_configure() {
emake setup.exe
OASIS_SETUP_COMMAND="./setup.exe" oasis_src_configure