tech-pkg archive

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

Re: Sanitising make environment in pkgsrc



On Tue, Aug 16, 2011 at 9:10 AM, Martin S. Weber <Ephaeton%gmx.net@localhost> 
wrote:
> On Tue, Aug 16, 2011 at 03:46:15PM +0200, Joerg Sonnenberger wrote:
>> On Tue, Aug 16, 2011 at 01:24:43PM +0100, David Brownlee wrote:
>> > The attached patch defines CLEANENV as "${SETENV} -i" then uses it
>> > instead of SETENV when defining MAKE_ENV for pkgsrc sub makes.
>> >
>> > Its been tested in NetBSD and Linux (RHEL) including bootstrap.
>> >
>> > Does anyone have any objections/comments?
>>
>> Yes, I object without proper reasoning.
>>
>
> Understandable. The topic has been brought up in may already btw, see
> the thread here:
>
> http://mail-index.netbsd.org/tech-pkg/2011/05/14/msg007168.html
>

In that thread I pointed out that a common solaris boostrap passes
variables in the environment...

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

does this patch still allow that (I had hoped to answer that question
myself by testing, but ENOTIME today.)

 - Tim


Home | Main Index | Thread Index | Old Index