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

Mathieu Arnold mat at FreeBSD.org
Thu Sep 10 11:26:21 UTC 2015



+--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...

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20150910/60c96954/attachment.bin>


More information about the svn-ports-all mailing list