[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-tech-pkg
Subject:    Re: pkginstall variables
From:       Thomas Klausner <wiz () NetBSD ! org>
Date:       2016-03-14 23:08:41
Message-ID: 20160314230841.GB21026 () danbala ! tuwien ! ac ! at
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic