pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/camlp5 Add hack to camlp5 to make it build with o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b2677906305f
branches:  trunk
changeset: 448959:b2677906305f
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Thu Mar 18 21:16:59 2021 +0000

description:
Add hack to camlp5 to make it build with ocaml 4.11.2 as well as 4.11.1.

diffstat:

 lang/camlp5/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r cfdcfddc5d1c -r b2677906305f lang/camlp5/Makefile
--- a/lang/camlp5/Makefile      Thu Mar 18 19:41:14 2021 +0000
+++ b/lang/camlp5/Makefile      Thu Mar 18 21:16:59 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2021/03/08 08:13:02 jaapb Exp $
+# $NetBSD: Makefile,v 1.39 2021/03/18 21:16:59 dholland Exp $
 #
 
 GITHUB_PROJECT=        camlp5
@@ -34,6 +34,10 @@
 BUILD_TARGET=  world
 .endif
 
+post-extract:
+       cd ${WRKSRC}/ocaml_stuff && ln -s 4.11.1 4.11.2
+       cd ${WRKSRC}/ocaml_src/lib/versdep && ln -s 4.11.1.ml 4.11.2.ml
+
 post-install:
        cd ${WRKSRC}/etc && \
        ${INSTALL_DATA} META ${DESTDIR}${PREFIX}/${OCAML_SITELIBDIR}/camlp5



Home | Main Index | Thread Index | Old Index