tech-pkg archive

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

Re: Unsetting ENV in pkgsrc

On Sun, May 22, 2011 at 1:08 PM, David Brownlee <> 
> On 16 May 2011 15:21, Martin S. Weber <> wrote:
>> On Sun, May 15, 2011 at 09:56:25AM +0200, Bernd Ernesti wrote:
>>> So is ENV enough which has to be cleared and in which step should that
>>> be done?
>> I'm wondering why SHELL can't be "env -i sh" basically anyways...
> I've just tested adjusting the value of TOOLS_PLATFORM.env to include
> " -i" and everything seems to build so far (about 800 packages into my
> standard set on a fresh pkgsrc build), and it fixes my ENV issue.
> Would anyone object to appending -i to the TOOLS_PLATFORM.env
> definitions in mk/tools/tools.*.mk ?

Does bootstrap use these definitions?  If so I think that would break
the current instructions for bootstrapping on several supported OS's.
For instance in bootstrap/README.Solaris suggests:

        env CC=/opt/studio12/SUNWspro/bin/cc \
          SUNWSPROBASE=/opt/studio12/SUNWspro \
          ./bootstrap --abi=64

 - Tim

Home | Main Index | Thread Index | Old Index