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
A commit references this bug: Author: mat Date: Wed Aug 24 11:56:25 UTC 2016 New revision: 49332 URL: https://svnweb.freebsd.org/changeset/doc/49332 Log: Fix a logic typo. PR: 212053 Reported by: Harald Schmalzbauer Sponsored by: Absolight Changes: head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml