svn commit: r396547 - in head/textproc: . smi
Alexey Dokuchaev
danfe at FreeBSD.org
Thu Sep 10 07:58:18 UTC 2015
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
./danfe
More information about the svn-ports-all
mailing list