pkgsrc/devel/ocaml-lwt/Makefile
jaapb 29cf762c38 Updated package to latest version, 2.5.1. Changes include:
* Lwt_stream.on_terminate -> Lwt_stream.on_termination
  * Lwt_unix: handle O_CLOEXEC
  * Lwt_log: add OSX syslog path
  * Ppx: Improve lwt%match, improve catchall detection
  * Add Lwt_unix.file_exists and Lwt_unix.Large_file.file_exists
  * Build fixes
  * API CHANGE: Functions in Lwt_io that were previously using a
    ~buffer_size argument now takes a ~buffer argument.
  * Accept ?buffer argument in Lwt_ssl.{in,out}_channel_of_descr.
  * Use newer Ssl bigarray read/write functionality to avoid
    allocation in Lwt_ssl.
  * Fix non-reentrant function calls (#136)
  * IPv4 multicast support.
  * Add support for if%lwt in ppx extension.
  * Add Lwt.return_some.
  * Disable log syntax extension by default in ppx.
    Give [-log] as ppx argument to enable it.
  * Nanosecond precision for Lwt_unix.stat.
  * Minor fixes + documentation improvements.
  * Fix compilation under Windows (#117, #129)
  * Fix Lwt_engine.on_timer (#121)
  * Add Lwt_log_core.reset_rules (#123)
  * Fixed typos in the documentation (#119, #131)
  * camlp4 is now optional.
  * Add safe_string compliance except for Lwt_ssl (need ocaml-ssl fix).
  * Add Lwt.Infix module to open instead of Lwt to have (>>=), etc.
  * Add Lwt_list.filter_map_{s,p} functions.
  * Add Lwt.fail_{with,invalid_arg} functions.
  * Improved Android support.
  * Remove deprecated lwt.text and lwt.top libraries.
  * Remove deprecated Lwt_signal and Lwt_event modules from
    lwt.react.
  * Fix #111: try_lwt wrongly warns about unused match case.
  * Fix #96: Fix Lwt_react.S.limit and Lwt_react.E.limit.
  * Fix #91: Workaround to fix compilation on OSX.
  * Add a ppx syntax extension
  * Add a ?fd argument to
    Lwt_io.{open_connection,with_connection,establish_server}.
  * Fix stub for getaddrinfo and getprotobyname
  * Windows fix: don't throw an exception in the notification handler
    if we're shutting down
  * Fix include file search in ./configure
  * ./configure fixes for windows
  * Fix: use sys_exit instead of exit when Unix.execv fails
2016-02-06 11:35:14 +00:00

37 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.19 2016/02/06 11:35:14 jaapb Exp $
#
DISTNAME= lwt-2.5.1
CATEGORIES= devel
#MASTER_SITES= http://github.com/ocsigen/lwt/archive/
MASTER_SITES= ${MASTER_SITE_GITHUB:=ocsigen/}
GITHUB_PROJECT= lwt
MAINTAINER= jaapb@NetBSD.org
HOMEPAGE= http://www.ocsigen.org/
COMMENT= Cooperative threading library for OCaml
LICENSE= gnu-lgpl-v2.1
DEPENDS= ocaml-react-[0-9]*:../../devel/ocaml-react
BUILDLINK_API_DEPENDS.ocaml-ssl+= ocaml-ssl>=0.5.0
OCAML_USE_OASIS= yes
CONFIGURE_ARGS+= --destdir "${DESTDIR}" --prefix "${PREFIX}" --enable-react \
--disable-glib --enable-camlp4
SUBST_CLASSES+= libev destdir
SUBST_STAGE.libev= post-configure
SUBST_MESSAGE.libev= Correcting compiler flags for libev
SUBST_FILES.libev= setup.data
SUBST_SED.libev= -e 's%"-lev"%"-lev -L${PREFIX}/lib/ev ${COMPILER_RPATH_FLAG}${PREFIX}/lib/ev"%'
#SUBST_STAGE.destdir= post-configure
#SUBST_MESSAGE.destdir= Changing install location to DESTDIR
#SUBST_FILES.destdir= setup.ml
#SUBST_SED.destdir= -e 's,"install" :: findlib_name,"install" :: "-destdir ${DESTDIR}${PREFIX}/lib/ocaml/site-lib" :: "-ldconf /dev/null" :: findlib_name,'
.include "options.mk"
.include "../../mk/ocaml.mk"
.include "../../devel/ocaml-findlib/buildlink3.mk"
.include "../../devel/libev/buildlink3.mk"
.include "../../lang/camlp4/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"