pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ocaml-bigstringaf Build fixes for devel/ocaml-bi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/821a39f28503
branches:  trunk
changeset: 380164:821a39f28503
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Mon May 30 09:33:00 2022 +0000

description:
Build fixes for devel/ocaml-bigstringaf. Revbump.

The earlier fixes by mef@ (using make) don't solve the problem properly,
since the Makefile only calls dune anyway. However, it does so with
different parameters, most notably not using the -j parameter (leaving
dune to autodetect the number of jobs). That (and the fact that I can't
reproduce the problem) suggests to me that parallel building is the culpit.
I've disabled it for now and will file a bug upstream.

diffstat:

 devel/ocaml-bigstringaf/Makefile      |  6 ++++--
 devel/ocaml-bigstringaf/buildlink3.mk |  4 ++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (42 lines):

diff -r b8f03705660b -r 821a39f28503 devel/ocaml-bigstringaf/Makefile
--- a/devel/ocaml-bigstringaf/Makefile  Mon May 30 09:11:26 2022 +0000
+++ b/devel/ocaml-bigstringaf/Makefile  Mon May 30 09:33:00 2022 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2022/05/29 07:32:15 mef Exp $
+# $NetBSD: Makefile,v 1.8 2022/05/30 09:33:00 jaapb Exp $
 
 DISTNAME=      ${GITHUB_PROJECT}-0.9.0
 PKGNAME=       ocaml-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=inhabitedtype/}
 GITHUB_PROJECT=        bigstringaf
@@ -11,8 +12,9 @@
 COMMENT=       Bigstring intrinsics and fast blits based on memcpy/memmmove
 LICENSE=       modified-bsd
 
+MAKE_JOBS_SAFE=        no # possible problem with building lib/freestanding
 USE_LANGUAGES= # none
-USE_TOOLS+=    gmake pkg-config
+USE_TOOLS+=    pkg-config
 OCAML_USE_DUNE=        yes
 
 .include "../../lang/ocaml/ocaml.mk"
diff -r b8f03705660b -r 821a39f28503 devel/ocaml-bigstringaf/buildlink3.mk
--- a/devel/ocaml-bigstringaf/buildlink3.mk     Mon May 30 09:11:26 2022 +0000
+++ b/devel/ocaml-bigstringaf/buildlink3.mk     Mon May 30 09:33:00 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2022/05/11 09:52:09 jaapb Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2022/05/30 09:33:00 jaapb Exp $
 
 BUILDLINK_TREE+=       ocaml-bigstringaf
 
@@ -6,7 +6,7 @@
 OCAML_BIGSTRINGAF_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.ocaml-bigstringaf+=      ocaml-bigstringaf>=0.4.0
-BUILDLINK_ABI_DEPENDS.ocaml-bigstringaf+=      ocaml-bigstringaf>=0.9.0
+BUILDLINK_ABI_DEPENDS.ocaml-bigstringaf+=      ocaml-bigstringaf>=0.9.0nb1
 BUILDLINK_PKGSRCDIR.ocaml-bigstringaf?=                ../../devel/ocaml-bigstringaf
 
 .endif # OCAML_BIGSTRINGAF_BUILDLINK3_MK



Home | Main Index | Thread Index | Old Index