This is a change to bsd.ocaml.mk, so that the PLIST can be automatically generated if the package uses ocaml-findlib. A new target has been added, ocaml-plist, to do this. It is run during the post-install phase, dependent on the value of the USE_OCAML_PLIST variable. I've changed the variable OCAML_LDLIBS to OCAML_LIBDIRS for more clarity; its default value is now longer ${OCAML_SITELIBDIR}/${PORTNAME}, but dependent on the value of OCAML_PKGDIRS. Fix: new .mk file attached Patch attached with submission follows: How-To-Repeat: n/a
Responsible Changed From-To: freebsd-ports-bugs->stas bsd.ocaml.mk is stas territory (via the GNATS Auto Assign Tool)
stas 2008-05-19 07:05:36 UTC FreeBSD ports repository Modified files: Mk bsd.ocaml.mk Log: - Add a knob to generate pkg-plist for ocaml findlib ports automatically. Now if USE_OCAMLFIND_PLIST is defined all files under findlib target directories will be added to pkg-plist and thus requires no entries in static pkg-plist. This is important since a number of ocaml ports install its package files conditionally depending on platform and ocaml configurations and thus static entries are not possible. PR: ports/122844 (based on) Submitted by: Jaap Boender <jaapb@kerguelen.org> Revision Changes Path 1.3 +7 -1 ports/Mk/bsd.ocaml.mk _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!