[TEST] make -j patch [take 2]

Alexander Leidinger Alexander at Leidinger.net
Mon Nov 15 03:29:48 PST 2004


Zitat von Harti Brandt <harti at freebsd.org>:

[knu CCed because he should know how portupgrade operates :-)]

> Unless you reset MAKEFLAGS along the call path to the portupgrade's make
> they'll see the -j, because the top-level make will stuff the -j into
> MAKEFLAGS and that is probably inherited through portupgrade.

I don't know how ruby handles exec()ing of external programs, but unless
it inherits the environment by default, portupgrade doesn't seems to
inherit MAKEFLAGS ("grep MAKEFLAGS /usr/local/lib/ruby/site_ruby/1.8/*
/usr/local/sbin/port*" shows no hits).

So if portupgrade inherits MAKEFLAGS somehow, phk's patch shouldn't
cause unexpected harm in this szenario, if portupgrade doesn't inherit
MAKEFLAGS, his patch violates POLA in this case.

Bye,
Alexander.

-- 
http://www.Leidinger.net/     Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org/        netchild @ FreeBSD.org  : PGP ID = 72077137


More information about the freebsd-current mailing list