pkgsrc/devel/ocaml-lwt/Makefile
jaapb fd76a06dcc Updated ocaml-lwt to latest version, 2.4.5. Package now uses ocaml.mk.
Changes:
* Lwt_ssl: expand API to allow setting socket options with Ssl
functions
* fix for camlp4 trunk
* support for React 1.0.0
* add Lwt_sequence.find_node_* functions
* Lwt_log: get backtrace early to overcome exns in
Printexc.to_string
* fix potential deadlock in lwt_unix_recv_notifications
* lwt.glib fixes:
- handle HUP
- fix for BSD/OSX
* do not raise an exception in Lwt_log if argv[0] is blank
 * add Android support
* fix issues in stubs for Lwt_unix jobs
* fix compatibility issue with OCaml 4.01
* fix the stub for ev_timer_init
* add Lwt.log containing Lwt_log_core, the Unix-free part of Lwt_log
* add Lwt_ssl.get_fd
* fix stdout/stderr redirections in Lwt_daemon.daemonize
* add Lwt_list.{map,iter}i{_s,_p}
2014-10-09 21:13:36 +00:00

37 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.15 2014/10/09 21:13:36 jaapb Exp $
#
DISTNAME= 2.4.5
PKGNAME= ocaml-lwt-${DISTNAME}
CATEGORIES= devel
MASTER_SITES= http://github.com/ocsigen/lwt/archive/
DIST_SUBDIR= ocaml-lwt
WRKSRC= ${WRKDIR}/lwt-${DISTNAME}
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
OCAML_USE_OASIS= yes
CONFIGURE_ARGS+= --destdir "${DESTDIR}" --prefix "${PREFIX}" --enable-react --disable-text --disable-glib --disable-toplevel
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"