tech-pkg archive

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

Re: pkginstall variables



On Mon, Mar 14, 2016 at 03:12:31PM +0000, Jaap Boender wrote:
> I've been trying to implement a pkginstall fragment to keep track of the
> directories in /usr/pkg/lib/ocaml/ld.conf (currently taken care of by
> calling a script from the PLIST, which is not ideal)
> 
> To this end, I need to get the OCAML_FINDLIB_DIRS variable which is
> currently defined in mk/ocaml.mk to the install scripts. I've been mucking
> around with INSTALL_ENV and INSTALL_SCRIPTS_ENV, but this doesn't seem to
> get passed on.
> 
> Can anyone tell me the correct way of doing this?

IIRC, FILES_SUBST should do the trick.
 Thomas


Home | Main Index | Thread Index | Old Index