[Bug 212053] [porters-handbook] Logic-typo in makefile-options.html 5.12.3.10. OPT_PREVENTS and OPT_PREVENTS_MSG

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 22 15:06:56 UTC 2016


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: freebsd-doc at FreeBSD.org
          Reporter: bugzilla.freebsd at omnilan.de

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.


More information about the freebsd-doc mailing list