git: caf9d7191596 - main - ftp/ocaml-ocurl: unbreak the build under some circumstances

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Tue, 12 Apr 2022 05:22:42 UTC
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=caf9d71915966be5b170d39f88ab8be357241cc8

commit caf9d71915966be5b170d39f88ab8be357241cc8
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2022-04-12 05:21:40 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2022-04-12 05:21:40 +0000

    ftp/ocaml-ocurl: unbreak the build under some circumstances
    
    MAKE_JOBS_UNSAFE knob had been erroneously removed in d19bfbb151d2
    (r477326) which had made the build fragile due to a race condition
    when generating the `libcurl-helper.a' target.  Clean the Makefile
    up a bit while here and assume maintainership of the port.
    
    Reported by:    pkg-fallout
---
 ftp/ocaml-ocurl/Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/ftp/ocaml-ocurl/Makefile b/ftp/ocaml-ocurl/Makefile
index 84abeee0c15a..c04cf7f710ae 100644
--- a/ftp/ocaml-ocurl/Makefile
+++ b/ftp/ocaml-ocurl/Makefile
@@ -5,7 +5,7 @@ PORTVERSION=	0.8.2
 CATEGORIES=	ftp
 PKGNAMEPREFIX=	ocaml-
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	danfe@FreeBSD.org
 COMMENT=	Interface for OCaml to the curl lib
 
 LICENSE=	MIT
@@ -18,7 +18,7 @@ LIB_DEPENDS=	libcurl.so:ftp/curl
 
 USES=		gmake
 GNU_CONFIGURE=	yes
-#CONFIGURE_ARGS+="--with-findlib"
+MAKE_JOBS_UNSAFE=	yes
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	ygrek
@@ -45,7 +45,6 @@ post-install:
 
 post-configure-LWT-off:
 # Override auto-detection
-
 	${REINPLACE_CMD} 's/(lwt,no)/(no,no)/' ${WRKSRC}/Makefile \
 		${WRKSRC}/examples/Makefile