diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2019-06-24 10:14:57 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2019-06-24 10:14:57 +0000 |
commit | b51d4476846a1b8364c05d954e88fa977c5d2080 (patch) | |
tree | c6799f414d81b83df0e1640dde540befcd389da6 /devel/ocaml-findlib/Makefile | |
parent | Update to version 3.7. (diff) |
Update OCaml to version 4.05.0 (this is the last version where strings
are unsafe by default, which is the main motivation why it was picked,
but not the very latest one) and synchronize the rest of the stack and
dependent ports with it, particularly:
- Update `devel/ocaml-ocamlbuild' to version 0.14.0 and unbreak,
register build dependency on all ports that require it (should
be part of USE_OCAML, but we do not want to make any Mk-related
changes the for time being)
- Update `devel/ocaml-camlp4' to version 4.05+2
- Update `devel/ocaml-camlp5' to version 7.07 (the project had
moved to GitHub)
- Mark `devel/ocaml-deriving-ocsigen' as BROKEN for now, it is
very outdated and requires quite a lot of work
- Update `x11-toolkits/ocaml-labltk' to version 8.06.3
PR: 218333
Exp-run by: antoine
Notes
Notes:
svn path=/head/; revision=505020
Diffstat (limited to 'devel/ocaml-findlib/Makefile')
-rw-r--r-- | devel/ocaml-findlib/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/ocaml-findlib/Makefile b/devel/ocaml-findlib/Makefile index 2b1e3e361493..f85b742948a0 100644 --- a/devel/ocaml-findlib/Makefile +++ b/devel/ocaml-findlib/Makefile @@ -36,12 +36,18 @@ TOOLBOX_CONFIGURE_ON= -with-toolbox TOOLBOX_RUN_DEPENDS= labltk:x11-toolkits/ocaml-labltk TOOLBOX_BUILD_DEPENDS= ${TOOLBOX_RUN_DEPENDS} +.include <bsd.port.pre.mk> + post-install: cd ${STAGEDIR}${PREFIX} && \ ${STRIP_CMD} bin/ocamlfind \ ${OCAML_SITELIBDIR}/findlib/findlib.cmxs \ ${OCAML_SITELIBDIR}/findlib/findlib_dynload.cmxs \ ${OCAML_SITELIBDIR}/findlib/findlib_top.cmxs +# Spacetime profiling is only available for native code on 64-bit targets +.if ${ARCH} == i386 || ${ARCH} == powerpc + @${REINPLACE_CMD} -e '/raw_spacetime/d' ${TMPPLIST} +.endif post-install-TOOLBOX-on: ${CHMOD} 755 ${STAGEDIR}${PREFIX}/bin/ocamlfind \ @@ -52,4 +58,4 @@ post-install-DOCS-on: cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR} \ "! -regex .*ref-man.*" -.include <bsd.port.mk> +.include <bsd.port.post.mk> |