diff options
author | Alexis Ballier <aballier@gentoo.org> | 2016-05-03 20:16:11 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2016-05-03 20:29:42 +0200 |
commit | 465a0b6ddf8ec19f73947a28719bf7c472e975fa (patch) | |
tree | b33efc7e6d96ed691e3ea94313b59e26e6d29bdd /dev-ml/async_unix/async_unix-113.33.00.ebuild | |
parent | dev-ml/core: bump to 113.33.02 and fix build with ocaml 4.03 (diff) | |
download | gentoo-465a0b6ddf8ec19f73947a28719bf7c472e975fa.tar.gz gentoo-465a0b6ddf8ec19f73947a28719bf7c472e975fa.tar.bz2 gentoo-465a0b6ddf8ec19f73947a28719bf7c472e975fa.zip |
dev-ml/async_unix: 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/async_unix/async_unix-113.33.00.ebuild')
-rw-r--r-- | dev-ml/async_unix/async_unix-113.33.00.ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-ml/async_unix/async_unix-113.33.00.ebuild b/dev-ml/async_unix/async_unix-113.33.00.ebuild index ab692ee59ab7..ed75addc6e5c 100644 --- a/dev-ml/async_unix/async_unix-113.33.00.ebuild +++ b/dev-ml/async_unix/async_unix-113.33.00.ebuild @@ -35,6 +35,10 @@ RDEPEND=" " DEPEND="${RDEPEND} 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 |