1 |
commit: f6f5af48e7668f5edc9c682ae7121d3d607a5055 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 25 09:24:58 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 25 14:42:40 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6f5af48 |
7 |
|
8 |
dev-ml/camlp5: Hook in ocaml 4.04.2 support |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
dev-ml/camlp5/camlp5-6.17.ebuild | 4 ++++ |
13 |
1 file changed, 4 insertions(+) |
14 |
|
15 |
diff --git a/dev-ml/camlp5/camlp5-6.17.ebuild b/dev-ml/camlp5/camlp5-6.17.ebuild |
16 |
index bb868f3abf0..1e3bd458fdc 100644 |
17 |
--- a/dev-ml/camlp5/camlp5-6.17.ebuild |
18 |
+++ b/dev-ml/camlp5/camlp5-6.17.ebuild |
19 |
@@ -34,6 +34,10 @@ src_prepare() { |
20 |
for i in ${PATCHLIST} ; do |
21 |
epatch "${DISTDIR}/${i}" |
22 |
done |
23 |
+ # ocaml 4.04.2 support |
24 |
+ cp -a ocaml_stuff/4.04.1 ocaml_stuff/4.04.2 || die |
25 |
+ cp ocaml_src/lib/versdep/4.04.{1,2}.ml || die |
26 |
+ sed -i -e 's/4.04.1/4.04.2/' ocaml_stuff/4.04.2/utils/pconfig.ml || die |
27 |
} |
28 |
|
29 |
src_configure() { |