In my last bulk two ocaml ports using dune broke during the fake
step because 'dune install' assumes git to be installed:

===>  Faking installation for ocaml-cppo-1.6.6p9
Error: Program git not found in the tree or in PATH
*** Error 1 in /usr/ports/pobj/ocaml-cppo-1.6.6/cppo-1.6.6 (Makefile:8 
'install': @dune install)

Similiarly for devel/ocaml-camlp-streams.

Diff below fixes that.

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/dune/Makefile,v
diff -u -p -r1.22 Makefile
--- Makefile    26 Oct 2025 17:29:40 -0000      1.22
+++ Makefile    12 Sep 2026 10:32:38 -0000
@@ -4,6 +4,7 @@ COMMENT-main =          OCaml build system
 COMMENT-configurator = OCaml library for gathering system configuration
 
 VERSION =              3.8.3
+REVISION-main =        0
 
 CATEGORIES =           devel
 
@@ -24,6 +25,7 @@ WANTLIB-main =                c m pthread
 MODULES =              lang/ocaml
 
 RUN_DEPENDS-configurator = devel/dune
+RUN_DEPENDS-main =     devel/git
 
 CONFIGURE_STYLE =      simple
 

Reply via email to