30bf574a67
Minor changes, the most important of which is introducing ocaml 4.08 compatibility. The configure script has also been moved and is now called during compilation.
26 lines
779 B
Makefile
26 lines
779 B
Makefile
# $NetBSD: Makefile,v 1.41 2019/05/13 11:38:45 jaapb Exp $
|
|
#
|
|
|
|
.include "Makefile.common"
|
|
|
|
PKGNAME= ocaml-${DISTNAME}
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= jaapb@NetBSD.org
|
|
HOMEPAGE= http://www.ocsigen.org/
|
|
COMMENT= Cooperative threading library for OCaml
|
|
|
|
OCAML_FINDLIB_DIRS= lwt stublibs
|
|
DUNE_BUILD_PACKAGES= lwt
|
|
|
|
CFLAGS.SunOS+= -D_POSIX_PTHREAD_SEMANTICS
|
|
|
|
.include "../../mk/ocaml.mk"
|
|
.include "../../devel/ocaml-cppo/buildlink3.mk"
|
|
.include "../../devel/ocaml-findlib/buildlink3.mk"
|
|
.include "../../devel/ocaml-migrate-parsetree/buildlink3.mk"
|
|
.include "../../devel/ocaml-mmap/buildlink3.mk"
|
|
.include "../../devel/ocaml-ppx_tools_versioned/buildlink3.mk"
|
|
.include "../../devel/ocaml-result/buildlink3.mk"
|
|
.include "../../devel/ocaml-seq/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|