Subject: CVS commit: pkgsrc/x11/ocaml-lablgtk3
From: Greg Troxel
Date: 2024-11-24 15:32:49
Message id: 20241124143249.8563DFC7D@cvs.NetBSD.org

Log Message:
x11/ocaml-lablgtk3: Kludge around dune pkg-config issues

For unclear reasons, if PKG_CONFIG is set in the environment, even if
properly to a copy of pkg-config in the work directory, dune objects
to it and errors out.  Remove PKG_CONFIG from the build environment.
This allows building to succeed.

This commit adds some test targets, not invoked, with comments that
are notes to the next person struggling with this, perhaps future
self.

The removal of PKG_CONFIG is implemented by open-coding the do-build
target from ocaml.mk, pending disscussion of the wisdom of changing
that target, on the theory that this is a dune bug, not a lablgtk bug.

Files:
RevisionActionfile
1.34modifypkgsrc/x11/ocaml-lablgtk3/Makefile