Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Sep 2015 09:29:08 -0500
From:      Mark Felder <feld@FreeBSD.org>
To:        Mathieu Arnold <mat@FreeBSD.org>, Alexey Dokuchaev <danfe@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:  <1441895348.792175.379930857.4ED1E31D@webmail.messagingengine.com>
In-Reply-To: <540CF4611DCE6320FD0825C1@ogg.in.absolight.net>
References:  <201509100045.t8A0jQFW087140@repo.freebsd.org> <k2rz-5a24-wny@FreeBSD.org> <5736B81B323CE8E4C7EBF024@atuin.in.mat.cc> <20150910075818.GA95637@FreeBSD.org> <540CF4611DCE6320FD0825C1@ogg.in.absolight.net>

next in thread | previous in thread | raw e-mail | index | archive | help


On Thu, Sep 10, 2015, at 06:26, Mathieu Arnold wrote:
> 
> 
> +--On 10 septembre 2015 07:58:18 +0000 Alexey Dokuchaev
> <danfe@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@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
> 
> 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.



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