Makefile, ${VARIABLE}= vs. ${VARIABLE}?=

Eitan Adler lists at eitanadler.com
Sun Feb 13 15:05:29 UTC 2011


>
> Is it up to the maintainer to decide which variables shall be
> overwritable, or are there rules?
>
Generally one wants to respect as much of the user's wishes as they
can. So things like CC, CFLAGS, CPP, CXX, etc should have a question
mark.

MAINTAINER and other internal port variable are generally safe without
the question mark.
If the event your port has a slave than even these variables need to
have question marks.



-- 
Eitan Adler


More information about the freebsd-ports mailing list