Date: Thu, 10 Sep 2015 07:58:18 +0000 From: Alexey Dokuchaev <danfe@FreeBSD.org> To: Mathieu Arnold <mat@FreeBSD.org> Cc: Jan Beich <jbeich@FreeBSD.org>, Jason Unovitch <junovitch@FreeBSD.org>, Chris Hutchinson <portmaster@bsdforge.com>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r396547 - in head/textproc: . smi Message-ID: <20150910075818.GA95637@FreeBSD.org> In-Reply-To: <5736B81B323CE8E4C7EBF024@atuin.in.mat.cc> References: <201509100045.t8A0jQFW087140@repo.freebsd.org> <k2rz-5a24-wny@FreeBSD.org> <5736B81B323CE8E4C7EBF024@atuin.in.mat.cc>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 10, 2015 at 09:46:06AM +0200, Mathieu Arnold wrote: > +--On 10 septembre 2015 03:37:23 +0200 Jan Beich <jbeich@FreeBSD.org> wrote: > | Jason Unovitch <junovitch@FreeBSD.org> writes: > | > |> +post-patch: > |> + ${REINPLACE_CMD} -e 's|^CC = .*|CC = ${CC}|' \ > | > | CC is defined by default to a sane value in both GNU and BSD make. > | One can do '/^CC/d' but see below for better way. > > The line was: > > CC = something > not > CC ?= something > > You can't overwrite CC = something from the command line, or the env. $ cat foo FOO = foo all: @echo ${FOO} $ make -f foo foo $ env FOO=bar make -f foo foo $ make -f foo FOO=bar bar ./danfe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150910075818.GA95637>