On 2020-07-04 16:30, Carmel wrote:
What I have never been able to get a definitive answer to is exactly
what the "+" does or if it is even needed, I have seen
'default_versions" both with and without it.
The way I understand it, += appends. Thus:
FOO=bar
FOO+=quux
will result in FOO having the value bar quux. Sometimes you will see +=
used even for what looks like the first of a series of assignments. This
works because the initial value is the empty string, and is usually done
to add to any non-empty default or initial value the variable may be
getting elsewhere (now or later) or to future-proof against needing to
add something before the first assignment and forgetting to change it
from = to +=.
See also, "Variable assignment modifiers" in the make manual page.
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"