| Summary: | Porter's handbook: Undocumented OPT_USE variable | ||
|---|---|---|---|
| Product: | Documentation | Reporter: | Lorenzo Salvadore <salvadore> |
| Component: | Books & Articles | Assignee: | freebsd-doc (Nobody) <doc> |
| Status: | Closed Not A Bug | ||
| Severity: | Affects Only Me | ||
| Priority: | --- | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Lorenzo Salvadore
2018-11-16 09:13:36 UTC
Sorry I have written badly about the difference USE/USES, I will explain better. OPT_USES is in the list, but OPT_USE is not. The two variables are different and have different behaviors. My guess is (but someone should confirm it) that OPT_USE= A=B adds USE_A= B conditionally depending on the state of OPT. If someone confirms I can try to write a first draft. (In reply to Lorenzo Salvadore from comment #1) It is already documented here: https://www.freebsd.org/doc/en/books/porters-handbook/makefile-options.html#options-use Thanks, I had not seen it. |