pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/ocaml



Module Name:    pkgsrc
Committed By:   gdt
Date:           Wed Sep 23 00:09:27 UTC 2026

Modified Files:
        pkgsrc/lang/ocaml: ocaml.mk

Log Message:
lang/ocam/ocaml.mk: Limit findlib bl3 to build phase

This is used to find libraries; it's more or less pkg-config for
ocaml.  There's no logical basis for it to be used at runtime by any
ocaml package that uses it to build.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/ocaml/ocaml.mk

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

Modified files:

Index: pkgsrc/lang/ocaml/ocaml.mk
diff -u pkgsrc/lang/ocaml/ocaml.mk:1.4 pkgsrc/lang/ocaml/ocaml.mk:1.5
--- pkgsrc/lang/ocaml/ocaml.mk:1.4      Mon Feb  2 19:36:35 2026
+++ pkgsrc/lang/ocaml/ocaml.mk  Wed Sep 23 00:09:27 2026
@@ -1,4 +1,4 @@
-# $NetBSD: ocaml.mk,v 1.4 2026/02/02 19:36:35 wiz Exp $
+# $NetBSD: ocaml.mk,v 1.5 2026/09/23 00:09:27 gdt Exp $
 #
 # This Makefile fragment handles the common variables used by OCaml packages.
 # It should be included by every package that uses OCaml.
@@ -153,10 +153,11 @@ PRINT_PLIST_AWK+= { gsub(/${OCAML_SITELI
                        print; next; }
 
 .if ${OCAML_USE_FINDLIB} == "yes"
+BUILDLINK_DEPMETHOD.ocaml-findlib?=    build
 .include "../../devel/ocaml-findlib/buildlink3.mk"
 INSTALLATION_DIRS+=    ${OCAML_SITELIBDIR}
 OCAML_FINDLIB_DIRS?=   ${PKGBASE:S/^ocaml-//}
-OCAML_FINDLIB_REGISTER?=       yes
+OCAML_FINDLIB_REGISTER?=               yes
 .endif
 
 #



Home | Main Index | Thread Index | Old Index