[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 <abs%netbsd.org@localhost>
> On 16 May 2011 15:21, Martin S. Weber <Ephaeton%gmx.net@localhost> 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 \
Main Index |
Thread Index |