krw f5fd6f0fd2 Upgrade Ocaml to 4.3.0 and tweak ports the minimal amount to keep
them all compiling.

Tweaks include updating

ocaml-batteries 2.3.1 -> 2.5.0
ocaml-lwt 2.4.8 -> 2.5.2
ocaml-ppx-tools 0.99.2 -> 4.03.0
ocaml-camlp4 4.02+6 -> 4.03+1
utop 1.15 -> 1.19.2

and fixes to coccinelle and wyrd to let them build on bytecode archs.

Other necessary tweaks from the various homes of the projects.

Everything still builds on amd64 (native and bytecode) and sparc64 (bytecode).

ok anil@ sthen@ so final 4.3.0 tweaks can be done in-tree.
2016-06-24 15:59:11 +00:00

34 lines
678 B
Makefile

# $OpenBSD: Makefile,v 1.12 2016/06/24 15:59:12 krw Exp $
COMMENT = enhanced OCaml toplevel
CATEGORIES = devel
V = 1.19.2
GH_ACCOUNT = diml
GH_PROJECT = utop
GH_TAGNAME = ${V}
DISTNAME = ${GH_PROJECT}-$V
REVISION = 0
MAINTAINER = Edd Barrett <edd@openbsd.org>
# 3-clause BSD
PERMIT_PACKAGE_CDROM = Yes
CONFIGURE_STYLE = oasis
CONFIGURE_ARGS += --enable-tests
MODULES = lang/ocaml
RUN_DEPENDS = devel/ocaml-lambda-term
BUILD_DEPENDS = ${RUN_DEPENDS} sysutils/findlib lang/ocaml-camlp4 \
devel/ocaml-cppo
post-install:
${INSTALL_DATA} \
${WRKDIST}/{LICENSE,CHANGES.md,README.md} \
${PREFIX}/share/doc/utop/
gunzip ${PREFIX}/man/*/*.gz
.include <bsd.port.mk>