head	1.50;
access;
symbols
	pkgsrc-2026Q1:1.50.0.2
	pkgsrc-2026Q1-base:1.50
	pkgsrc-2025Q4:1.48.0.4
	pkgsrc-2025Q4-base:1.48
	pkgsrc-2025Q3:1.48.0.2
	pkgsrc-2025Q3-base:1.48
	pkgsrc-2025Q2:1.47.0.14
	pkgsrc-2025Q2-base:1.47
	pkgsrc-2025Q1:1.47.0.12
	pkgsrc-2025Q1-base:1.47
	pkgsrc-2024Q4:1.47.0.10
	pkgsrc-2024Q4-base:1.47
	pkgsrc-2024Q3:1.47.0.8
	pkgsrc-2024Q3-base:1.47
	pkgsrc-2024Q2:1.47.0.6
	pkgsrc-2024Q2-base:1.47
	pkgsrc-2024Q1:1.47.0.4
	pkgsrc-2024Q1-base:1.47
	pkgsrc-2023Q4:1.47.0.2
	pkgsrc-2023Q4-base:1.47
	pkgsrc-2023Q3:1.46.0.12
	pkgsrc-2023Q3-base:1.46
	pkgsrc-2023Q2:1.46.0.10
	pkgsrc-2023Q2-base:1.46
	pkgsrc-2023Q1:1.46.0.8
	pkgsrc-2023Q1-base:1.46
	pkgsrc-2022Q4:1.46.0.6
	pkgsrc-2022Q4-base:1.46
	pkgsrc-2022Q3:1.46.0.4
	pkgsrc-2022Q3-base:1.46
	pkgsrc-2022Q2:1.46.0.2
	pkgsrc-2022Q2-base:1.46
	pkgsrc-2022Q1:1.44.0.10
	pkgsrc-2022Q1-base:1.44
	pkgsrc-2021Q4:1.44.0.8
	pkgsrc-2021Q4-base:1.44
	pkgsrc-2021Q3:1.44.0.6
	pkgsrc-2021Q3-base:1.44
	pkgsrc-2021Q2:1.44.0.4
	pkgsrc-2021Q2-base:1.44
	pkgsrc-2021Q1:1.44.0.2
	pkgsrc-2021Q1-base:1.44
	pkgsrc-2020Q4:1.43.0.2
	pkgsrc-2020Q4-base:1.43
	pkgsrc-2020Q3:1.42.0.4
	pkgsrc-2020Q3-base:1.42
	pkgsrc-2020Q2:1.42.0.2
	pkgsrc-2020Q2-base:1.42
	pkgsrc-2020Q1:1.41.0.6
	pkgsrc-2020Q1-base:1.41
	pkgsrc-2019Q4:1.41.0.8
	pkgsrc-2019Q4-base:1.41
	pkgsrc-2019Q3:1.41.0.4
	pkgsrc-2019Q3-base:1.41
	pkgsrc-2019Q2:1.41.0.2
	pkgsrc-2019Q2-base:1.41
	pkgsrc-2019Q1:1.40.0.2
	pkgsrc-2019Q1-base:1.40
	pkgsrc-2018Q4:1.39.0.2
	pkgsrc-2018Q4-base:1.39
	pkgsrc-2018Q3:1.37.0.2
	pkgsrc-2018Q3-base:1.37
	pkgsrc-2018Q2:1.36.0.2
	pkgsrc-2018Q2-base:1.36
	pkgsrc-2018Q1:1.33.0.2
	pkgsrc-2018Q1-base:1.33
	pkgsrc-2017Q4:1.31.0.6
	pkgsrc-2017Q4-base:1.31
	pkgsrc-2017Q3:1.31.0.4
	pkgsrc-2017Q3-base:1.31
	pkgsrc-2017Q2:1.28.0.4
	pkgsrc-2017Q2-base:1.28
	pkgsrc-2017Q1:1.28.0.2
	pkgsrc-2017Q1-base:1.28
	pkgsrc-2016Q4:1.27.0.6
	pkgsrc-2016Q4-base:1.27
	pkgsrc-2016Q3:1.27.0.4
	pkgsrc-2016Q3-base:1.27
	pkgsrc-2016Q2:1.27.0.2
	pkgsrc-2016Q2-base:1.27
	pkgsrc-2016Q1:1.23.0.2
	pkgsrc-2016Q1-base:1.23
	pkgsrc-2015Q4:1.18.0.4
	pkgsrc-2015Q4-base:1.18
	pkgsrc-2015Q3:1.18.0.2
	pkgsrc-2015Q3-base:1.18
	pkgsrc-2015Q2:1.16.0.4
	pkgsrc-2015Q2-base:1.16
	pkgsrc-2015Q1:1.16.0.2
	pkgsrc-2015Q1-base:1.16
	pkgsrc-2014Q4:1.15.0.2
	pkgsrc-2014Q4-base:1.15
	pkgsrc-2014Q3:1.14.0.6
	pkgsrc-2014Q3-base:1.14
	pkgsrc-2014Q2:1.14.0.4
	pkgsrc-2014Q2-base:1.14
	pkgsrc-2014Q1:1.14.0.2
	pkgsrc-2014Q1-base:1.14
	pkgsrc-2013Q4:1.13.0.2
	pkgsrc-2013Q4-base:1.13
	pkgsrc-2013Q3:1.12.0.4
	pkgsrc-2013Q3-base:1.12
	pkgsrc-2013Q2:1.12.0.2
	pkgsrc-2013Q2-base:1.12
	pkgsrc-2013Q1:1.11.0.2
	pkgsrc-2013Q1-base:1.11
	pkgsrc-2012Q4:1.10.0.2
	pkgsrc-2012Q4-base:1.10
	pkgsrc-2012Q3:1.7.0.2
	pkgsrc-2012Q3-base:1.7
	pkgsrc-2012Q2:1.6.0.2
	pkgsrc-2012Q2-base:1.6
	pkgsrc-2012Q1:1.5.0.4
	pkgsrc-2012Q1-base:1.5
	pkgsrc-2011Q4:1.5.0.2
	pkgsrc-2011Q4-base:1.5
	pkgsrc-2011Q3:1.4.0.14
	pkgsrc-2011Q3-base:1.4
	pkgsrc-2011Q2:1.4.0.12
	pkgsrc-2011Q2-base:1.4
	pkgsrc-2011Q1:1.4.0.10
	pkgsrc-2011Q1-base:1.4
	pkgsrc-2010Q4:1.4.0.8
	pkgsrc-2010Q4-base:1.4
	pkgsrc-2010Q3:1.4.0.6
	pkgsrc-2010Q3-base:1.4
	pkgsrc-2010Q2:1.4.0.4
	pkgsrc-2010Q2-base:1.4
	pkgsrc-2010Q1:1.4.0.2
	pkgsrc-2010Q1-base:1.4
	pkgsrc-2009Q4:1.2.0.6
	pkgsrc-2009Q4-base:1.2
	pkgsrc-2009Q3:1.2.0.4
	pkgsrc-2009Q3-base:1.2
	pkgsrc-2009Q2:1.2.0.2
	pkgsrc-2009Q2-base:1.2
	pkgsrc-2009Q1:1.1.1.1.0.8
	pkgsrc-2009Q1-base:1.1.1.1
	pkgsrc-2008Q4:1.1.1.1.0.6
	pkgsrc-2008Q4-base:1.1.1.1
	pkgsrc-2008Q3:1.1.1.1.0.4
	pkgsrc-2008Q3-base:1.1.1.1
	cube-native-xorg:1.1.1.1.0.2
	cube-native-xorg-base:1.1.1.1
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.50
date	2026.03.01.12.38.26;	author gdt;	state Exp;
branches;
next	1.49;
commitid	xaHXyYFajPgHPgwG;

1.49
date	2026.02.17.13.39.00;	author wiz;	state Exp;
branches;
next	1.48;
commitid	pkhLiUCry2inyJuG;

1.48
date	2025.08.25.08.34.59;	author wiz;	state Exp;
branches;
next	1.47;
commitid	tgYETpEmimJPw58G;

1.47
date	2023.11.05.21.31.38;	author jaapb;	state Exp;
branches;
next	1.46;
commitid	kHMqoKCC0P6OZsLE;

1.46
date	2022.05.24.18.59.26;	author jaapb;	state Exp;
branches;
next	1.45;
commitid	LWTaeJUGVvAsclFD;

1.45
date	2022.05.02.14.02.09;	author jaapb;	state Exp;
branches;
next	1.44;
commitid	mfzreJd0np7pguCD;

1.44
date	2021.03.08.08.12.53;	author jaapb;	state Exp;
branches;
next	1.43;
commitid	ZSVtQ5nGxDdxPtKC;

1.43
date	2020.12.13.13.41.59;	author mef;	state Exp;
branches;
next	1.42;
commitid	P8Lb2xW62Wl7oAzC;

1.42
date	2020.04.21.11.29.59;	author jaapb;	state Exp;
branches;
next	1.41;
commitid	kdQMR9muraXsef5C;

1.41
date	2019.05.13.11.38.45;	author jaapb;	state Exp;
branches;
next	1.40;
commitid	oFWjeuryozj4l2nB;

1.40
date	2019.03.05.16.56.16;	author jaapb;	state Exp;
branches;
next	1.39;
commitid	SpTinPUjUcXKjceB;

1.39
date	2018.11.27.17.15.49;	author jaapb;	state Exp;
branches;
next	1.38;
commitid	rurLah7FFvO6AB1B;

1.38
date	2018.11.12.16.10.19;	author jaapb;	state Exp;
branches;
next	1.37;
commitid	FZB9fL8bVKwuHFZA;

1.37
date	2018.07.27.08.01.30;	author jperkin;	state Exp;
branches;
next	1.36;
commitid	5CVlcnPrpdtWsKLA;

1.36
date	2018.04.13.12.52.00;	author jaapb;	state Exp;
branches;
next	1.35;
commitid	UyDySu0PZoBgrhyA;

1.35
date	2018.04.05.11.52.28;	author jaapb;	state Exp;
branches;
next	1.34;
commitid	neHVmuBGvAJqnfxA;

1.34
date	2018.04.05.11.04.39;	author jaapb;	state Exp;
branches;
next	1.33;
commitid	50tE5XrPWPmw6fxA;

1.33
date	2018.01.22.11.53.24;	author jaapb;	state Exp;
branches;
next	1.32;
commitid	5BqjxCkPQBtRIRnA;

1.32
date	2018.01.10.16.53.09;	author jaapb;	state Exp;
branches;
next	1.31;
commitid	pYranbFo2xN1MlmA;

1.31
date	2017.09.08.16.54.31;	author jaapb;	state Exp;
branches;
next	1.30;
commitid	kmTDmD4sGLCFLp6A;

1.30
date	2017.09.08.12.45.33;	author jaapb;	state Exp;
branches;
next	1.29;
commitid	rEzkiGfya9aLno6A;

1.29
date	2017.07.11.11.06.54;	author jaapb;	state Exp;
branches;
next	1.28;
commitid	ax9ez3KrIKiOJNYz;

1.28
date	2016.12.30.11.16.59;	author jaapb;	state Exp;
branches;
next	1.27;
commitid	4UT4oNjI9i6XZZzz;

1.27
date	2016.06.25.14.18.35;	author jaapb;	state Exp;
branches;
next	1.26;
commitid	qxvfv5k7usu03Rbz;

1.26
date	2016.06.20.10.18.52;	author jaapb;	state Exp;
branches;
next	1.25;
commitid	llLMI8jIqDIJSbbz;

1.25
date	2016.05.06.15.39.36;	author jaapb;	state Exp;
branches;
next	1.24;
commitid	iEGsowxs05Eu6r5z;

1.24
date	2016.05.05.11.45.38;	author jaapb;	state Exp;
branches;
next	1.23;
commitid	hgz2yCFtg7paQh5z;

1.23
date	2016.03.05.11.28.24;	author jperkin;	state Exp;
branches;
next	1.22;
commitid	1LoxeQftu903HrXy;

1.22
date	2016.02.23.15.03.16;	author joerg;	state Exp;
branches;
next	1.21;
commitid	gjb1miN1MF8uf3Wy;

1.21
date	2016.02.17.17.00.38;	author jaapb;	state Exp;
branches;
next	1.20;
commitid	QhulYe0MvfMB5iVy;

1.20
date	2016.02.06.12.10.33;	author jaapb;	state Exp;
branches;
next	1.19;
commitid	ZtwGiLf8LuU8QQTy;

1.19
date	2016.02.06.11.35.14;	author jaapb;	state Exp;
branches;
next	1.18;
commitid	rfYDTT4VrPBMDQTy;

1.18
date	2015.08.07.11.20.34;	author jaapb;	state Exp;
branches;
next	1.17;
commitid	d2FFtHsvhgFxrkwy;

1.17
date	2015.06.30.11.52.57;	author jaapb;	state Exp;
branches;
next	1.16;
commitid	BIwgKflO8AXrQrry;

1.16
date	2015.01.20.14.24.35;	author jaapb;	state Exp;
branches;
next	1.15;
commitid	hwPQ9mt8k2M4RL6y;

1.15
date	2014.10.09.21.13.36;	author jaapb;	state Exp;
branches;
next	1.14;
commitid	qvjTsvGuXdCXqzTx;

1.14
date	2014.02.12.23.17.49;	author tron;	state Exp;
branches;
next	1.13;
commitid	dfJj7CwMMWJzNRox;

1.13
date	2013.11.01.10.50.03;	author jaapb;	state Exp;
branches;
next	1.12;
commitid	MMaAUQphsPveYybx;

1.12
date	2013.04.03.12.31.49;	author jaapb;	state Exp;
branches;
next	1.11;

1.11
date	2013.02.06.23.22.09;	author jperkin;	state Exp;
branches;
next	1.10;

1.10
date	2012.12.14.14.32.32;	author jaapb;	state Exp;
branches;
next	1.9;

1.9
date	2012.10.31.11.17.33;	author asau;	state Exp;
branches;
next	1.8;

1.8
date	2012.10.08.15.18.22;	author jaapb;	state Exp;
branches;
next	1.7;

1.7
date	2012.08.15.08.21.33;	author wiz;	state Exp;
branches;
next	1.6;

1.6
date	2012.05.30.13.40.59;	author wiz;	state Exp;
branches;
next	1.5;

1.5
date	2011.12.06.00.19.23;	author sbd;	state Exp;
branches;
next	1.4;

1.4
date	2010.01.30.19.10.25;	author joerg;	state Exp;
branches;
next	1.3;

1.3
date	2010.01.17.12.02.13;	author wiz;	state Exp;
branches;
next	1.2;

1.2
date	2009.06.30.00.07.13;	author joerg;	state Exp;
branches;
next	1.1;

1.1
date	2008.09.02.11.19.35;	author obache;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2008.09.02.11.19.35;	author obache;	state Exp;
branches;
next	;


desc
@@


1.50
log
@*: revbump for lang/ocaml micro (security) update
@
text
@# $NetBSD: Makefile,v 1.49 2026/02/17 13:39:00 wiz Exp $
#

PKGREVISION= 2
.include "Makefile.common"

PKGNAME=	ocaml-${DISTNAME}
CATEGORIES=	devel

MAINTAINER=	pkgsrc-users@@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

MAKE_ENV+=	LWT_DISCOVER_ARGUMENTS="--use-pthread true --use-libev true --verbose"

.include "../../lang/ocaml/ocaml.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../devel/libev/buildlink3.mk"
.include "../../devel/ocaml-cppo/buildlink3.mk"
.include "../../devel/ocaml-dune-configurator/buildlink3.mk"
.include "../../devel/ocaml-findlib/buildlink3.mk"
.include "../../devel/ocaml-ocplib-endian/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.49
log
@*: recursive bump for ocaml-dune becoming a build dependency
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.48 2025/08/25 08:34:59 wiz Exp $
d4 1
a4 1
PKGREVISION= 1
@


1.48
log
@reset maintainer
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.47 2023/11/05 21:31:38 jaapb Exp $
d4 1
@


1.47
log
@Updated devel/ocaml-lwt to version 5.7.0.

I've removed superfluous dependencies from the package. Upstream changes
are many, so I'll add only the ones that break API (for the rest, see
the CHANGES file in the distribution):

* Lwt_result.catch now takes a function (unit -> 'a t)
  rather than a promise ('a t).
* Remove the deprecated Lwt.result type (use Stdlib.result instead).
* Remove the deprecated Lwt.make_value and Lwt.make_result functions
  (use Ok and Error instead).
* Remove the deprecated and unsafe waiter_of_wakener
  (keep the waiter around when you create the wakener instead).
* Remove the deprecated Lwt_stream.on_termination and
  Lwt_stream.on_terminate (bind to Lwt_stream.closed instead).
* Remove the deprecated Lwt_stream.result type (use Stdlib.result instead).
* Remove the deprecated Lwt_stream.map_exn function (use wrap_exn instead).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.46 2022/05/24 18:59:26 jaapb Exp $
d9 1
a9 1
MAINTAINER=	jaapb@@NetBSD.org
@


1.46
log
@Replaced mk/ocaml.mk with lang/ocaml/ocaml.mk in ocaml packages
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.45 2022/05/02 14:02:09 jaapb Exp $
a25 2
.include "../../devel/ocaml-migrate-parsetree/buildlink3.mk"
.include "../../devel/ocaml-mmap/buildlink3.mk"
a26 2
.include "../../devel/ocaml-result/buildlink3.mk"
.include "../../devel/ocaml-seq/buildlink3.mk"
@


1.45
log
@Updated devel/ocaml-lwt to version 5.5.0.

Upstream changes include minor updates and bugfixes, and adding support
for OCaml versions up to 4.14.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.44 2021/03/08 08:12:53 jaapb Exp $
d20 1
a20 1
.include "../../mk/ocaml.mk"
@


1.44
log
@Recursive revbump associated with update of lang/ocaml
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.43 2020/12/13 13:41:59 mef Exp $
a3 1
PKGREVISION= 1
a28 1
.include "../../devel/ocaml-ppx_tools_versioned/buildlink3.mk"
@


1.43
log
@(devel/ocaml-lwt) Add devel/ocaml-dune-configurator as buildlink3.mk
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.42 2020/04/21 11:29:59 jaapb Exp $
d4 1
@


1.42
log
@Updated devel/ocaml-lwt to version 5.2.0.

This adds several updates and bugfixes, some of them breaking. For more
details see the CHANGES file in the distribution.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2019/05/13 11:38:45 jaapb Exp $
d24 1
@


1.41
log
@Updated devel/ocaml-lwt to version 4.2.1.

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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2019/03/05 16:56:16 jaapb Exp $
d18 2
d21 2
d27 1
@


1.40
log
@Updated devel/ocaml-lwt for dune compatibility.

Package now compatible with dune 1.7; revbump..
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2018/11/27 17:15:49 jaapb Exp $
a6 1
PKGREVISION= 3
a15 3
HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	-use-libev false

a17 3
do-configure:
	cd ${WRKSRC} && ocaml src/util/configure.ml ${CONFIGURE_ARGS}

d22 1
d25 1
@


1.39
log
@Updated package devel/ocaml-lwt to use dune
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2018/11/12 16:10:19 jaapb Exp $
a3 1
PKGREVISION= 2
d7 1
@


1.38
log
@Revbumps associated with update of lang/ocaml.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2018/07/27 08:01:30 jperkin Exp $
d4 1
a4 1
PKGREVISION= 1
d14 2
a15 2
#MAKE_JOBS_SAFE=	no
JBUILDER_BUILD_PACKAGES=	lwt
a19 2
OCAML_USE_JBUILDER=	yes

@


1.37
log
@ocaml-lwt: SunOS needs -D_POSIX_PTHREAD_SEMANTICS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2018/04/13 12:52:00 jaapb Exp $
d4 1
@


1.36
log
@Updated devel/ocaml-lwt to version 4.0.1.

4.0.0 is a major release that breaks quite a few interfaces, such as:

* Delete package lwt.ppx. The PPX syntax is in package lwt_ppx since
  Lwt 3.2.0.
* Remove >> syntax from the PPX.
* Delete modules Lwt_log, Lwt_daemon, Lwt_log_core, and package lwt.log.
  These are in package lwt_log since Lwt 3.2.0, but it is recommended to
  use Logs_lwt from the logs library instead (initiated Hannes Mehnert).
* Delete package lwt.preemptive. It is an alias for lwt.unix since
  Lwt 3.2.0.
* Delete package lwt.syntax. The Camlp4 syntax is in package lwt_camlp4
  since Lwt 3.2.0.
* Delete module Lwt_chan, a predecessor of Lwt_io.
* Delete package lwt.simple-top, a predecessor of utop.
* Make resolvers (Lwt.u) contravariant.

(for an upgrade path see the upstream Github site)

4.0.1 is a bugfix release.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2018/04/05 11:52:28 jaapb Exp $
d21 2
@


1.35
log
@Committed correct version of lwt 3.3.0 package

camlp4 support has been revamped, this package takes that into account.
@
text
@d1 1
a1 1
# $NetBSD$
d16 1
d19 2
@


1.34
log
@Updated devel/ocaml-lwt to version 3.3.0.

This includes minor bugfixes and improvements, but nothing that breaks
backwards compatibility.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2018/01/22 11:53:24 jaapb Exp $
a20 1
.include "options.mk"
@


1.33
log
@Updated package devel/ocaml-lwt to version 3.2.0.

This release includes several bugfixes and additions. For more details see
the CHANGES file.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2018/01/10 16:53:09 jaapb Exp $
d13 2
a14 1
JBUILDER_BUILD_TARGETS=	lwt
@


1.32
log
@Recursive revbump associated with the update to OCaml 4.06.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2017/09/08 16:54:31 jaapb Exp $
a6 1
PKGREVISION=	2
@


1.31
log
@Stubs file installed in right location
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2017/09/08 12:45:33 jaapb Exp $
d7 1
a7 1
PKGREVISION=	1
@


1.30
log
@Updated package to latest version, 3.1.0, which includes some
infrastructure changes as well (packages for glib, react and ssl support
have been split off). Upstream changes include:

===== 3.1.0 (2017-07-19) =====

====== Additions ======

  * Port to Jbuilder (#374, Andrew Ray).
  * Lwt_io.establish_server_with_client_address (#346, Rudi Grinberg).
  * Lwt_unix.getcwd (#403, Rapha?l Proust).

====== Planned to break in 4.0.0 ======

  * Delete lwt.simple-top (#371).
  * Delete Lwt_chan (#441).

====== Fixes ======

  * Make Lwt_log functions tail-recursive (#348, Jan Doms).
  * Make more of Lwt_list tail-recursive (#347, Jan Doms).
  * Improve string messages in exceptions (#368, #382, Jan Doms, Rapha?l
    Proust).
  * Don't call Unix.set_nonblock or Unix.clear_nonblock unnecessarily on
    some fds (#356, David Sheets).
  * Lwt_unix.sleep and Lwt_unix.timeout returning too early when using
    libev (#433, Stijn Devriendt).
  * Lwt_sequence.fold_r iterating the wrong way in some cases (#405,
    Stijn Devriendt).
  * Build conflicts in some cases due to duplicate cst_to_constr
    function (#362, J?r?mie Dimino).
  * Don't use deprecated readdir_r system call (#430, Rapha?l Proust).

====== Miscellaneous ======

  * The Lwt core, lwt.ml, has been thoroughly refactored and commented
    (#354, reviewed Gabriel Radanne, Edwin T?r?k, Rapha?l Proust, Jan
    Doms, Fabian Hemmer, Sebastien Mondet, Simon Cruanes, Anil
    Madhavapeddy, Pierre Chambart, and many others).
  * Lots of tests for most of the Lwt core (#339, #389, #392, #440,
    #448, #450, Joseph Thomas, Ryan Slade).
  * Documentation fixes (including by Joseph Thomas, Rapha?l Proust,
    Richard Degenne, Stavros Polymenis).
  * Contributing documentation (#379).
  * Massively adjust whitespace for legibility (#400, #409, #416,
    Richard Degenne).
  * Improvements to CI (Etienne Millon, Raphael Rafatpanah, Zack Coker,
    Yotam Barnoy).
  * The additional packages lwt_ssl, lwt_react, lwt_glib get new minor
    releases, the change being new Jbuilder build systems (#374, Andrew
    Ray).

===== 3.0.0 (2017-04-10) =====

====== Breaking ======

  * These changes were originally announced in release 2.7.0 (#308).
  * Lwt_engine.libev now has an optional argument for selecting the libev back
    end (#269, #294, Jeremy Yallop).
  * Lwt_io.establish_server has been changed to make it more difficult to leak
    file descriptors (#258, #260).
  * Lwt_io.shutdown_server now evaluates to a promise, which completes when the
    listening socket's close(2) operation completes (#259).
  * Lwt_unix.bind now evaluates to a promise, because the bind(2) system call
    can block for Unix domain sockets (#296, requested David Sheets).
  * ocamlfind packages lwt.react, lwt.ssl, lwt.glib are replaced by lwt_react,
    lwt_ssl, lwt_glib. These have been separate OPAM packages, under those
names, since 2.7.0 (#301).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2017/07/11 11:06:54 jaapb Exp $
d7 1
@


1.29
log
@Update package to version 2.7.1. Changes include:

===== 2.7.1 (2017-04-08) =====

====== Fixes ======

  * OCaml 4.05 compatibility (Mauricio Fernandez, #322).
  * Give Lwt_unix.file_exists the same semantics as Sys.file_exists, with
    respect to not raising Unix.Unix_error (Mauricio Fernandez, #316).
  * Improve diagnostics from build scripts (Tim Cuthbertson, #313, #314).

====== Additions ======

  * Announce Lwt_result, which was originally released as an experimental module
    in release 2.6.0 (Simon Cruanes, #320, #247).

===== 2.7.0 (2017-01-03) =====

====== General ======

  * Values of types a Lwt.t are now referred to as promises rather than threads
    (#300). The manual has not yet been updated.

====== Breaking ======

  * After this release, Lwt will switch to semantic versioning. Future breaking
    changes will first require deprecation, then a major version number increase
    (#293).
  * Lwt no longer supports OCaml 4.01 (#272).
  * Lwt_unix.fdatasync is no longer available on macOS. It was calling an
    undocumented system call on that system (#285, Jeremy Yallop).

====== Planned to break in 3.0.0 ======

  * APIs in this category have deprecation messages attached. The messages will
    be displayed if you recompile your code, and can also be seen in #308.
  * Lwt_engine.libev will have an argument for selecting the libev back end
    (#269, #294, Jeremy Yallop).
  * Lwt_io.establish_server will be replaced by a version that makes it
    difficult to leak file descriptors (#258, #260).
  * Lwt_io.shutdown_server will evaluate to a promise, which indicates when the
    close operation completes (#259).
  * Lwt_unix.bind will evaluate to a promise, since bind can block for Unix
    domain sockets (#296, requested David Sheets).
  * ocamlfind packages lwt.react, lwt.ssl, and lwt.glib will be replaced by the
    new lwt_react, lwt_ssl, and lwt_glib. These are now distributed in new OPAM
    packages with the same names, separately from OPAM package lwt (#301).

====== Additions ======

  * Lwt_unix.readv and Lwt_unix.writev - zero-copy scatter/gather I/O
    (#291, #299).
  * ?fail_on_error argument for Lwt_log.load_rules (#306, Daniil Baturin).
  * Lwt_log.level_of_string (#306, Daniil Baturin).

====== Changes ======

  * Lwt_stream.of_list, Lwt_stream.of_array, Lwt_stream.of_string now
    immediately push all elements into the created streams
    (#239, Spiros Eliopoulos).

====== Deprecations ======

  * Lwt_stream.map_exn in favor of Lwt_stream.wrap_exn, which uses OCaml's
    standard result type (#295).

====== Bugs fixed ======

  * Ungraceful failure if directory handle used after Lwt_unix.closedir (#292).
  * Buffer overflow in Lwt_unix.readdir and Lwt_unix.readdir_n (#292).
  * Unnecessary allocations in Lwt_unix.readdir_n (#292, found Jeremly Yallop).

====== Miscellaneous ======

  * Annotate existing deprecations with [@@@@ocaml.deprecated ...] (5737f5b).
  * Improvements to the examples (#288, Rich Neswold).
  * Documentation fixes, including by Rich Neswold.
  * New tests and various minor internal improvements.
  * Run tests in CI with all OCaml warnings enabled (dadb926).
  * Much cleaner build output.
  * Add scratch/ directory for local use by developers.

===== 2.6.0 (2016-10-27) =====

====== Additions ======

  * Lwt_stream.closed and Lwt_stream.is_closed (#223, Spiros Eliopoulos).
  * Lwt_switch.with_switch (#256, Thomas Leonard).
  * Define 'a Lwt.result as ('a, exn) result (#247, Simon Cruanes).
  * Lwt_condition.broadcast_exn (#241, Nicolas Ojeda Bar).
  * Lwt_unix.utimes (#193).

====== Bugfixes ======

  * Memory leak in Lwt_unix.readdir_n (#229, diagnosed Thomas Leonard).
  * Memory leak in Lwt.protected (#56, #181, reported @@ygrek, Mauricio
    Fernandez).
  * Lwt_switch.turn_off hook exception handling (995b704).
  * Handling of ENOTCONN when channels passed to handler of
    Lwt_io.establish_server are closed (95fb431).
  * Duplicate exceptions on implicit close in Lwt_io.with_connection (b1afe45).
  * Deadlock in Lwt_main.at_exit (#48, #114, reported Jérôme Vouillon, Vincent
    Bernardoff).
  * Performance of Lwt_preemptive.detach (#218, #219, Mauricio Fernandez).
  * Bad hash functions for libev loops (#146, reported Mark Christiaens).
  * Hash of uninitialized data in Lwt_io (#217, reported Jeremy Yallop).
  * Update log sections after Lwt_log.load_rules (#188, reported @@rand00).
  * Print three digits for milliseconds in Lwt_log (#264, Fabian Hemmer).
  * Do not truncate Unix job notification ids in C (#277, diagnosed
    @@stijn-devriendt).

====== Deprecations ======

  * Lwt_stream.on_termination: bind on Lwt_stream.closed instead.
  * Lwt.make_value, Lwt.make_error: use result's Ok and Error constructors.
  * Lwt_pqueue, Lwt_sequence: use min-heaps and linked lists from another
    library (#135).
  * Pa_lwt, Pa_lwt_log: use Ppx_lwt.

====== Miscellaneous ======

  * Update examples to use PPX syntax instead of Camlp4 (#108, Peter Zotov).
  * Set up Travis, AppVeyor for testing on Linux, OS X, Cygwin, and MinGW. MSVC
    also planned.
  * Large amount of local documentation fixes (Hezekiah Carty, Etienne Millon,
    Leo Wzukw, Sebastien Mondet, reports by others).
* A bunch of new tests.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2016/12/30 11:16:59 jaapb Exp $
d4 2
a5 1
DISTNAME=	lwt-2.7.1
a7 3
#MASTER_SITES=	http://github.com/ocsigen/lwt/archive/
MASTER_SITES=	${MASTER_SITE_GITHUB:=ocsigen/}
GITHUB_PROJECT=	lwt
a11 1
LICENSE=	gnu-lgpl-v2.1
d13 3
a15 2
DEPENDS+=	ocaml-ppx_tools-[0-9]*:../../devel/ocaml-ppx_tools
DEPENDS+=	ocaml-react-[0-9]*:../../devel/ocaml-react
d17 2
a18 10
OCAML_USE_OASIS_DYNRUN=	yes
CONFIGURE_ARGS+=	--destdir "${DESTDIR}" --prefix "${PREFIX}" \
			--bindir "${DESTDIR}${PREFIX}/bin" \
			--enable-react --disable-glib

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"%'
a21 1
.include "../../devel/libev/buildlink3.mk"
d24 3
@


1.28
log
@Recursive revbump associated with ocaml update to 4.04.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2016/06/25 14:18:35 jaapb Exp $
d4 1
a4 1
DISTNAME=	lwt-2.5.2
a5 1
PKGREVISION=	3
a17 1
BUILDLINK_API_DEPENDS.ocaml-ssl+=	ocaml-ssl>=0.5.0
d19 4
a22 3
OCAML_USE_OASIS=	yes
CONFIGURE_ARGS+=	--destdir "${DESTDIR}" --prefix "${PREFIX}" --enable-react \
	--disable-glib
a28 4
#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,'
d32 2
a34 1
.include "../../devel/libev/buildlink3.mk"
@


1.27
log
@Updated package to use ocaml.mk framework. No upstream changes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2016/06/20 10:18:52 jaapb Exp $
d6 1
a6 1
PKGREVISION=	2
@


1.26
log
@Revbump to make sure package gets recompiled with newer mk/ocaml.mk
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2016/05/06 15:39:36 jaapb Exp $
d6 1
a6 1
PKGREVISION=	1
@


1.25
log
@Updated package to latest version, 2.52. Changes include:
- Fix compatibility for 4.03 (#227)
- Various documentation fixes (#199,#200,#210,)
- Improve wildcard detection in the ppx (#198)
- Fix Lwt_stream: bounded_push#close wake the reader (#201)
- Fix infinite loop with Lwt_stream.choose (#214)
- Fix lazyness failure with Lwt_io.common#close (#207)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2016/05/05 11:45:38 jaapb Exp $
d6 1
@


1.24
log
@Recursive revbump associated with ocaml update.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2016/03/05 11:28:24 jperkin Exp $
d4 1
a4 1
DISTNAME=	lwt-2.5.1
a5 1
PKGREVISION=	3
@


1.23
log
@Bump PKGREVISION for security/openssl ABI bump.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2016/02/23 15:03:16 joerg Exp $
d6 1
a6 1
PKGREVISION=	2
@


1.22
log
@Add missing dependency. Always use += for DEPENDS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2016/02/17 17:00:38 jaapb Exp $
d6 1
a6 1
PKGREVISION=	1
@


1.21
log
@Revamped the ocaml-lwt package. No upstream changes, but I added two
compilation options.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2016/02/06 12:10:33 jaapb Exp $
d17 2
a18 1
DEPENDS=	ocaml-react-[0-9]*:../../devel/ocaml-react
@


1.20
log
@Removed the automatic setting of PKGNAME to ocaml-${DISTNAME} from
ocaml.mk. It was becoming more trouble than it was worth: only a minority
of packages used it, and it only made Makefiles more confusing.
(I've left out some packages: these will be updated forthwith)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2016/02/06 11:35:14 jaapb Exp $
d6 1
d22 1
a22 1
	--disable-glib --enable-camlp4
a37 1
.include "../../lang/camlp4/buildlink3.mk"
@


1.19
log
@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
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2015/08/07 11:20:34 jaapb Exp $
d5 1
@


1.18
log
@Recursive revbump associated with lang/ocaml update.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2015/06/30 11:52:57 jaapb Exp $
d4 1
a4 3
DISTNAME=	2.4.5
PKGNAME=	ocaml-lwt-${DISTNAME}
PKGREVISION=	3
d6 3
a8 4
MASTER_SITES=	http://github.com/ocsigen/lwt/archive/
DIST_SUBDIR=	ocaml-lwt

WRKSRC=	${WRKDIR}/lwt-${DISTNAME}
d16 1
d19 2
a20 1
CONFIGURE_ARGS+=	--destdir "${DESTDIR}" --prefix "${PREFIX}" --enable-react --disable-text --disable-glib --disable-toplevel
@


1.17
log
@Recursive revbump associated with update of lang/ocaml to 4.02.2.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2015/01/20 14:24:35 jaapb Exp $
d6 1
a6 1
PKGREVISION=	2
@


1.16
log
@Revbump associated with update of lang/ocaml.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2014/10/09 21:13:36 jaapb Exp $
d6 1
a6 1
PKGREVISION=	1
@


1.15
log
@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}
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2014/02/12 23:17:49 tron Exp $
d6 1
@


1.14
log
@Recursive PKGREVISION bump for OpenSSL API version bump.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2013/11/01 10:50:03 jaapb Exp $
d4 2
a5 3
DISTNAME=	lwt-2.4.3
PKGNAME=	ocaml-${DISTNAME}
PKGREVISION=	2
d7 4
a10 1
MASTER_SITES=	http://www.ocsigen.org/download/
a16 1
BUILDLINK_API_DEPENDS.ocaml+=   ocaml>=3.11.0
d19 1
a19 2
USE_TOOLS+=	gmake
HAS_CONFIGURE=	yes
a20 5
USE_LANGUAGES+=	c

BUILD_TARGET=	build

INSTALLATION_DIRS=	lib/ocaml/site-lib
d26 5
a30 20
SUBST_SED.libev=	-e 's%"-lev"%"-lev -L${PREFIX}/lib/ev -Wl,-R${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,'

PLIST_VARS=	opt
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
    (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64")
PLIST.opt=		yes
.endif

do-configure:
	cd ${WRKSRC} && ${CONFIGURE_ENV} ocaml setup.ml -configure ${CONFIGURE_ARGS}

do-build:
	cd ${WRKSRC} && ${MAKE_ENV} ocaml setup.ml -build

do-install:
	cd ${WRKSRC} && ocaml setup.ml -install
d33 1
a33 1
.include "../../lang/ocaml/buildlink3.mk"
d36 1
@


1.13
log
@Revbump and patches to compile with ocaml 4.01.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2013/04/03 12:31:49 jaapb Exp $
d6 1
a6 1
PKGREVISION=	1
@


1.12
log
@Updated package to latest version, 2.4.3. Changes include:

  * fix Lwt_ssl.{in,out}_channel_of_descr: shutdown and close the
    socket when the channel is closed
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2013/02/06 23:22:09 jperkin Exp $
d6 1
@


1.11
log
@PKGREVISION bumps for the security/openssl 1.0.1d update.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2012/12/14 14:32:32 jaapb Exp $
d4 1
a4 1
DISTNAME=	lwt-2.4.2
a5 1
PKGREVISION=	1
@


1.10
log
@Update of devel/ocaml-lwt to its newest version, 2.4.2. Changes include:

2.4.2
* fix the stub for Lwt_unix.readdir
* change the default method for Lwt_glib.install (use the glib main loop by
  default: more portable)
* ignore invalid file descriptors returned by glib (like the emulation of
  select in glib does)
* use environment variables in discover.ml - use LIBRARY_PATH and
  C_INCLUDE_PATH for searching headers - allow to pass flags for a library
	in <LIB>_CLFAGS and <LIB>_LIBS
* add Lwt_unix.on_signal_full

2.4.1
* Add Lwt_stream.on_terminate
* Fix Lwt_gc
* Fix stubs for get_credentials on *BSD
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2012/10/31 11:17:33 asau Exp $
d6 1
@


1.9
log
@Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2012/10/08 15:18:22 jaapb Exp $
d4 1
a4 1
DISTNAME=	lwt-2.4.0
a5 1
PKGREVISION=	1
d9 1
a9 1
MAINTAINER=	jaapb@@kerguelen.org
d24 1
a24 1
AUTO_MKDIRS=		yes
a48 1
	${MKDIR} ${DESTDIR}${PREFIX}/lib/ocaml/site-lib
@


1.8
log
@Revision bump associated with the update of lang/ocaml to version 4.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2012/08/15 08:21:33 wiz Exp $
a24 2
PKG_DESTDIR_SUPPORT=	user-destdir

@


1.7
log
@Update to 2.4.0, from Jaap Boender in PR 46798:

This is a maintainer update of devel/ocaml-lwt to its newest version, 2.4.0. The
changelog (bugfixes and some enhancements, plus compatibility with ocaml 4.00,
though it should still compile with ocaml 3.12):

- Reimplement Lwt_stream
  much simpler and more efficient
  do not use Weak
  add bounded push streams
- Add Lwt.async
- Add Lwt_preemptive.run_in_main
- Implement Lwt_unix.get_credentials on MacOS X/OpenBSD
- Ensure that on_cancel functions are executed first
- Better implementation of Lwt.cancel with more tests
- Simplify the API for unix jobs
- Better handling of the master lock in libev stubs
- Windows fixes/updates:
  pass -lws2_32 instead of ws2_32.lib if building with mingw
  fix a bug causing Lwt_unix.read/write to block when a socket is not
        readable/writable
  port Lwt_process and Lwt_unix.system to windows
- Compatibility with ocaml 4.00:
  add O_SHARE_DELETE to Lwt_unix.open_flag
  add -package compiler-libs.toplevel for files using Toploop
- Do not use module Sys for signal handling to avoid ocaml code to be called in a C thread
- Fix Lwt_unix.wrap_syscall: try instead of Lwt.catch
- Fix a dead-lock between lwt_unix_send_notificati
- Fix #277: add a function to return the Ssl.socket of a Lwt_ssl.socket

There have also been a few changes to the package itself; it now uses
PLIST_VARS, and the patches are replaced by the SUBST mechanism.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2012/05/30 13:40:59 wiz Exp $
d6 1
@


1.6
log
@Update to 2.3.2, by Jaap Boender in PR 44991.

===== 2.3.2 (2011-11-04) =====

  * Add location informations in logs:
    ** allow loggers to get the current location through local storage
    ** pass current location to logging functions
    ** pass the current location with the syntax extension
  * Add Lwt.on_termination
  * Add Lwt_unix.reinstall_signal_handler
  * Add Lwt_io.flush_all
  * Add assert_lwt keyword to the syntax extension
  * Add Lwt.wrap
  * Add Lwt_glib.iter and Lwt_glib.wakeup
  * ocaml 3.13 ready
  * Allow to compile without libev support
  * Fix bugs in Lwt_io
  * Better handling of forks
  * Fix many problems on Windows

===== 2.3.1 (2011-07-13) =====

  * Fix building of documentation when using the tarball
  * Add Lwt_unix.fsync and Lwt_unix.fdatasync
  * Fix the stubs for Lwt_unix.send_msg when fd-passing is not
    available
  * Add -lwt-sequence-strict option to the syntax extension
  * Use a custom PRNG state for Lwt.choose and Lwt.pick
  * Fix a display glitch when starting the toplevel
  * Add Lwt_unix.fork which should now be used when one want to use
    Lwt in the child process
  * Better implementation of Lwt_unix.readlink and
    Lwt_unix.gethostbyname, which fixes compilation on Hurd
  * Add Lwt.wakeup_later and Lwt.wakeup_later_exn to be used when one
    need to do lot of nested wakeup, which fixes a buffer overflow in
    Lwt_mutex
  * Fix Lwt_unix.abort and Lwt_unix.close (threads was never wakeup)
  * Fix Lwt_throttle for correct timings
  * Fix subtle use of cancel

===== 2.3.0 (2011-04-12) =====

  * Add an extensible system of engines to:
    ** allow the user to replace libev by another event system, such
       as select
    ** allow easier integration of external libraries supporting
       asynchronous operations
  * Lots of improvements for windows:
    ** use the ocaml select instead of libev by default on windows
    ** make asynchronous operations on non-socket file descriptors
       such as pipes to work
    ** make glib integration to work
  * Better use of engines in Lwt_unix: now events are cached to minimize
    the amount of calls to epoll_ctl
  * Use an eventfd when possible for notifications for faster delivery
  * Add modules:
    ** Lwt_sys: allow to test availability of extra features
    ** Lwt_react: replace Lwt_event and Lwt_signal
  * Allow to configure logging rules at runtime in Lwt_log
  * Add match_lwt and while_lwt to the syntax extension
  * Fixes:
    ** syntax extension: handle "lwt ... = ... in ..." at toplevel
    ** make the notification system fork-proof
    ** fix an issue with stubs not raising correctly exceptions

===== 2.2.1 (2011-01-26) =====

  * Better interaction with Js_of_ocaml.
  * Add functions {{{Lwt.register_pause_notifier}}} and {{{Lwt.paused_count}}}.

===== 2.2.0 (2010-12-13) =====

  * Bugfixes:
    ** Fix a bug with cancellable threads causing {{{Canceled}}}
       exceptions to be raised randomly
    ** Fix a fd-leak in Lwt_io.open_connection
  * {{{Lwt_unix}}} now use libev instead of select
  * Add thread local storage support to {{{Lwt}}}
  * Add backtrace support to {{{Lwt}}}. Now {{{Lwt}}} exceptions can
    be recored by using the syntax extension with the {{{-lwt-debug}}}
    command line switch.
  * Allow blocking system calls to be executed in parallels
  * Change the type of many functions of {{{Lwt_unix}}}, which now
    return a {{{Lwt}}} thread
  * Add functions {{{Lwt_unix.readable}}} and {{{Lwt_unix.writable}}}
  * Add function {{{Lwt_io.is_busy}}}
  * Add functions {{{Lwt_event.delay}}} and {{{Lwt_signal.delay}}}
  * Add function {{{Lwt_term.render_update}}}
  * Add function {{{Lwt_ssl.embed_socket}}}
  * Add module {{{Lwt_bytes}}} defining operations on bigarrays
    instead of strings
  * Use bigarrays in Lwt_io instead of strings for the internal buffer.
    Lwt_io.make now takes a function that uses a bigarray.
  * Add module {{{Lwt_switch}}}

===== 2.1.1 (2010-06-13) =====

  * Many bugfixes, including:
    ** buggy behaviour of cancellable threads
    ** file descriptor leakage in {{{Lwt_unix.accept_n}}}
  * Add {{{Lwt.nchoose}}} and {{{Lwt.npick}}}
  * Use {{{set_close_on_exec}}} for fds created by {{{Lwt_log}}}
  * Better implementation of lwtized react functions

===== 2.1.0 (2010-04-19) =====

  * Rename {{{Lwt.select}}} to {{{Lwt.pick}}}
  * Removing module {{{Lwt_monitor}}} in favour of {{{Lwt_mutex}}} and
    new module {{{Lwt_condition}}}
  * More react helpers:
    ** {{{Lwt_event.next}}}
    ** {{{Lwt_event.limit}}} and {{{Lwt_signal.limit}}}
    ** {{{Lwt_event.from}}}
  * Adding function {{{Lwt_main.fast_yield}}}
  * Adding unit tests
  * Optimisation of {{{Lwt}}}
  * Adding module {{{Lwt_log}}} for logging
  * Adding a camlp4 filter for remmoving logging statement or inlining
    tests
  * Adding module {{{Lwt_daemon}}}
  * Adding function {{{Lwt_unix.recv_msg}}} and {{{Lwt_unix.send_msg}}}
  * Adding function {{{Lwt_unix.wait4}}}
  * Adding function {{{Lwt_io.establish_server}}}
  * Adding module {{{Lwt_list}}}
  * Enhancement in {{{Lwt_process}}}, it now support redirections and
    timeouts
  * Allow to use {{{select}}} on arbitrary high file descriptors
  * More commands and features in {{{Lwt_read_line}}}:
    ** Handle "undo" command
    ** New controlable read-lines instances
    ** More edition commands
    ** Completion as you type
    ** Backward search
  * Enhancement in {{{Lwt_term}}}: more drawing functions and allow to
    put the terminal into drawing mode
  * Optimisation of {{{Lwt_stream}}}
  * Optimisation of {{{Lwt_io.write_char}}} and {{{Lwt_io.read_char}}}
  * Bugfix of {{{Lwt_stream}}}: two parallel {{{Lwt_stream.get}}}
    returned the same value
  * Bugfix in {{{Lwt_unix.connect}}}: it returned immediatly on EINPROGRESS
  * Bugfixes in {{{Lwt_glib}}}: file descriptors were not monitored correctly

===== 2.0.0 (2009-10-15) =====

  * Adding modules:
    ** {{{Lwt_stream}}}: lwt-aware version of the {{{Stream}}} module
    ** {{{Lwt_gc}}} for using {{{finalise}}} without
       {{{Lwt_unix.run}}}
    ** {{{Lwt_io}}}: a new implementation of buffered channels with
       more features and better handling of concurrent access
    ** {{{Lwt_text}}}: implementation of text channels
    ** {{{Lwt_process}}}: helpers to spawn processes and communicate
       with them
    ** {{{Lwt_main}}} for abstracting the main loop and allowing
       replacement by a custom main loop
    ** {{{Lwt_glib}}} for integration into the glib main event loop
    ** {{{Lwt_term}}} for interaction with the terminal
    ** {{{Lwt_read_line}}} for interactive user input
    ** {{{Lwt_monitor}}}, {{{Lwt_mvar}}}: combined locks for
       synchronization with conditional variables for notification
    ** {{{Lwt_throttle}}} for limiting rate of execution
       (e.g. for authentication procedure)
    ** {{{Lwt_sequence}}}: mutable sequence of elements
    ** {{{Lwt_event}}}, {{{Lwt_signal}}}: helpers for reactive
       programming with lwt
  * Adding a syntax extension {{{pa_lwt}}}:
    ** handles anonymous bind {{{a >> b}}}
    ** adds syntactic sugar for catching errors (ticket #6)
    ** adds syntactic sugar for parallel let-binding construction
    ** adds syntactic sugar for for-like loops
  * Top-level integration:
    ** threads can runs while reading user input
    ** line editing support
  * New enhanced OCaml toplevel with some basic completion features
  * Adding C stubs to reimplement {{{Unix.read}}} and {{{Unix.write}}}
    with assumption of non-blocking behaviour
  * Adding more functions/helpers in {{{Lwt}}}
  * Fixing memory leaks in {{{Lwt.choose}}}
  * Bugfix in {{{Lwt_chan.close_*}}} (ticket #66)
  * Separate the type of threads (covariant) from the type of thread
    wakeners (contravariant); the type of many functions related to
    {{{Lwt.wait}}} has been changed
  * Add cancelable threads
  * Unix-dependent part is now put in its own archive and findlib
    package.
@
text
@d1 1
a1 1
# $NetBSD$
d4 1
a4 1
DISTNAME=	lwt-2.3.2
d15 1
a15 2
BUILD_DEPENDS+=	ocaml-findlib-[0-9]*:../../devel/ocaml-findlib
DEPENDS+=	ocaml-react-[0-9]*:../../devel/ocaml-react
d28 9
a36 5
SUBST_CLASSES+=		destdir
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,'
d38 1
d41 1
a41 3
PLIST_SUBST+=	OPT=""
.else
PLIST_SUBST+=	OPT="@@comment "
a50 1
	${RM} -rf ${DESTDIR}${PREFIX}/lib/ocaml/site-lib/lwt
d52 1
a52 1
	cd ${WRKSRC} && ${MAKE_ENV} ocaml setup.ml -install --destdir ${DESTDIR} --prefix ${PREFIX}
d56 1
@


1.5
log
@Recursive bump for lang/ocaml buildlink addition.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2010/01/30 19:10:25 joerg Exp $
d4 1
a4 1
DISTNAME=	lwt-1.1.0
a5 1
PKGREVISION=	2
d12 1
d14 3
a16 1
PKG_DESTDIR_SUPPORT=	user-destdir
d18 4
a21 1
MAKE_JOBS_SAFE=		no
d23 1
a23 1
DEPENDS+=	ocaml-findlib-[0-9]*:../../devel/ocaml-findlib
d25 3
a27 1
USE_TOOLS+=	gmake
d29 5
a33 1
.include "../../mk/bsd.prefs.mk"
a34 1
BUILD_TARGET=	META byte
d37 3
a39 2
BUILD_TARGET+=	opt
PLIST_SRC+=	PLIST.opt
d42 2
a43 2
BUILD_TARGET+=	doc
PLIST_SRC+=	PLIST
d45 2
a46 1
INSTALLATION_DIRS+=	share/doc/ocaml-lwt
d48 4
a51 2
post-install:
	${INSTALL_DATA} ${WRKSRC}/_build/lwt.docdir/* ${DESTDIR}${PREFIX}/share/doc/ocaml-lwt
d53 1
a53 1
.include "../../security/ocaml-ssl/buildlink3.mk"
d55 1
@


1.4
log
@DESTDIR support
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2010/01/17 12:02:13 wiz Exp $
d6 1
a6 1
PKGREVISION=	1
@


1.3
log
@Recursive PKGREVISION bump for jpeg update to 8.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2009/06/30 00:07:13 joerg Exp $
d14 2
d34 2
d37 1
a37 2
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PKGBASE}
	${INSTALL_DATA} ${WRKSRC}/_build/lwt.docdir/* ${PREFIX}/share/doc/${PKGBASE}
@


1.2
log
@Mark packages as MAKE_JOBS_SAFE=no that failed in a bulk build with
MAKE_JOBS=2 and worked without.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 2008/09/02 11:19:35 obache Exp $
d6 1
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
d13 2
@


1.1.1.1
log
@Import ocaml-lwt-1.1.0 as devel/ocaml-lwt.
Pachaged by Jaap Boender and privided by PR 39112.

The Lwt (Light-Weight Threading) library is a cooperative threading library for
OCaml.
@
text
@@
