https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212053

            Bug ID: 212053
           Summary: [porters-handbook] Logic-typo in makefile-options.html
                    5.12.3.10. OPT_PREVENTS  and OPT_PREVENTS_MSG
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Documentation
          Assignee: [email protected]
          Reporter: [email protected]

Please see
https://www.freebsd.org/doc/en/books/porters-handbook/makefile-options.html

In chapter 5.12.3.10. "OPT_PREVENTS  and OPT_PREVENTS_MSG",
there's a equivalent-example for:
OPT1_PREVENTS=  OPT2

It contains:
.if ${PORT_OPTIONS:MOPT2} || ${PORT_OPTIONS:MOPT1}
but most likely should read
.if ${PORT_OPTIONS:MOPT2} && ${PORT_OPTIONS:MOPT1}

Unfortunately I never visited docs sources, so no patch attached :-(

-Harry

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "[email protected]"

Reply via email to