summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-06-25 11:24:58 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-06-25 16:42:40 +0200
commitf6f5af48e7668f5edc9c682ae7121d3d607a5055 (patch)
tree2091532c309bf4c4a7272209cff2fa298d255edf /dev-ml/camlp5
parentdev-ml/OCaml-ImageMagick: Fix build with image magick 7. (diff)
downloadgentoo-f6f5af48e7668f5edc9c682ae7121d3d607a5055.tar.gz
gentoo-f6f5af48e7668f5edc9c682ae7121d3d607a5055.tar.bz2
gentoo-f6f5af48e7668f5edc9c682ae7121d3d607a5055.zip
dev-ml/camlp5: Hook in ocaml 4.04.2 support
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ml/camlp5')
-rw-r--r--dev-ml/camlp5/camlp5-6.17.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-ml/camlp5/camlp5-6.17.ebuild b/dev-ml/camlp5/camlp5-6.17.ebuild
index bb868f3abf09..1e3bd458fdcd 100644
--- a/dev-ml/camlp5/camlp5-6.17.ebuild
+++ b/dev-ml/camlp5/camlp5-6.17.ebuild
@@ -34,6 +34,10 @@ src_prepare() {
for i in ${PATCHLIST} ; do
epatch "${DISTDIR}/${i}"
done
+ # ocaml 4.04.2 support
+ cp -a ocaml_stuff/4.04.1 ocaml_stuff/4.04.2 || die
+ cp ocaml_src/lib/versdep/4.04.{1,2}.ml || die
+ sed -i -e 's/4.04.1/4.04.2/' ocaml_stuff/4.04.2/utils/pconfig.ml || die
}
src_configure() {