pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ocamlbuild



Module Name:    pkgsrc
Committed By:   gdt
Date:           Wed Sep 23 12:27:57 UTC 2026

Modified Files:
        pkgsrc/devel/ocamlbuild: Makefile

Log Message:
devel/ocamlbuild: Fix latent bug of not depending on ocamlfind

This package, probably unique among ocaml-foo, not only uses ocamlfind
(more or less ocaml's pkg-config): at build time, but, being a build
tool, also offers a way for callers to use it at run time.   There was
no explicit dependency on ocamlfind, and correct operation was riding
on the happenstance full dep on ocamlfind recently removed in general
from ocaml modules.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/ocamlbuild/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/ocamlbuild/Makefile
diff -u pkgsrc/devel/ocamlbuild/Makefile:1.23 pkgsrc/devel/ocamlbuild/Makefile:1.24
--- pkgsrc/devel/ocamlbuild/Makefile:1.23       Sun Mar  1 12:38:34 2026
+++ pkgsrc/devel/ocamlbuild/Makefile    Wed Sep 23 12:27:57 2026
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.23 2026/03/01 12:38:34 gdt Exp $
+# $NetBSD: Makefile,v 1.24 2026/09/23 12:27:57 gdt Exp $
 
 DISTNAME=      ocamlbuild-0.16.1
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=ocaml/}
 
@@ -21,5 +21,9 @@ INSTALL_TARGET=               findlib-install
 MAKE_ENV=      CHECK_IF_PREINSTALLED=false OCAMLBUILD_BINDIR=${PREFIX}/bin \
                OCAMLBUILD_LIBDIR=${PREFIX}/${OCAML_SITELIBDIR}
 
+# ocamlbuild not only uses findlib at build time, normally, but offers
+# a way for the build tool to use findlib at runtime.
+BUILDLINK_DEPMETHOD.ocaml-findlib?=    full
+
 .include "../../lang/ocaml/ocaml.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index