svn commit: r396547 - in head/textproc: . smi

Mark Felder feld at FreeBSD.org
Thu Sep 10 14:29:10 UTC 2015



On Thu, Sep 10, 2015, at 06:26, Mathieu Arnold wrote:
> 
> 
> +--On 10 septembre 2015 07:58:18 +0000 Alexey Dokuchaev
> <danfe at FreeBSD.org>
> wrote:
> | On Thu, Sep 10, 2015 at 09:46:06AM +0200, Mathieu Arnold wrote:
> |> +--On 10 septembre 2015 03:37:23 +0200 Jan Beich <jbeich at FreeBSD.org>
> |> wrote:
> |> | Jason Unovitch <junovitch at 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
> 
> I always assumed it was not the case, and it was the reason portscout
> would
> not detect new versions of BIND, because it's fiddeling with the url
> where
> it should be changing PORTVERSION...
> 

Hmm, I've learned something new as well now...

Thanks Alexey.


More information about the svn-ports-head mailing list