Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2013 14:20:38 +0100
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        Mathieu Arnold <mat@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, Ganael LAPLANCHE <martymac@FreeBSD.org>, ports-committers@freebsd.org
Subject:   Re: svn commit: r334573 - head/devel/raknet
Message-ID:  <20131122142038.7e4f35a0@kalimero.tijl.coosemans.org>
In-Reply-To: <E51BE94E2AF75E549E4120C6@atuin.in.mat.cc>
References:  <201311221131.rAMBVEeU056491@svn.freebsd.org> <4A32B27D1E6D98F73F717130@atuin.in.mat.cc> <20131122125248.22d4bdfd@kalimero.tijl.coosemans.org> <E51BE94E2AF75E549E4120C6@atuin.in.mat.cc>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 22 Nov 2013 13:02:03 +0100 Mathieu Arnold wrote:
> +--On 22 novembre 2013 12:52:48 +0100 Tijl Coosemans <tijl@FreeBSD.org>
> wrote:
> | With bmake in jobs mode (-j flag) the entire block is run by one shell
> | so a command with cd in it has to be put in parenthesis if it must not
> | affect the next command.
> 
> Ah, I did not know that. Is it by design ? Do any other make do that ? I'll
> have to check perl@ ports I have removed quite a lot of parenthesis.

It's by design and I'm not aware of any other make implementation doing
that.  It's mentioned in the FreeBSD 10 manpage for make (SHELL COMMANDS
section).

For ports I don't think this matters much.  The -j flag is only used
during build so only if a port is built with FreeBSD make you might
have to patch makefiles to make them jobs-safe.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131122142038.7e4f35a0>