Date: Thu, 24 Nov 2016 14:45:59 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r427018 - head/Mk Message-ID: <201611241445.uAOEjxZb078640@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Thu Nov 24 14:45:58 2016 New Revision: 427018 URL: https://svnweb.freebsd.org/changeset/ports/427018 Log: Add an OPTIONS_EXCLUDE_opsys_osrel. Sponsored by: Absolight Modified: head/Mk/bsd.options.mk (contents, props changed) Modified: head/Mk/bsd.options.mk ============================================================================== --- head/Mk/bsd.options.mk Thu Nov 24 14:41:40 2016 (r427017) +++ head/Mk/bsd.options.mk Thu Nov 24 14:45:58 2016 (r427018) @@ -36,6 +36,8 @@ # OPTIONS_EXCLUDE - List of options unsupported (useful for slave ports) # OPTIONS_EXCLUDE_${ARCH} - List of options unsupported on a given ${ARCH} # OPTIONS_EXCLUDE_${OPSYS} - List of options unsupported on a given ${OPSYS} +# OPTIONS_EXCLUDE_${OPSYS}_${OSREL:R} - List of options unsupported on a given +# ${OPSYS} and major version (8/9/10...) # OPTIONS_SLAVE - This is designed for slave ports, it removes an # option from the options list inherited from the # master port and it always adds it to PORT_OPTIONS @@ -215,7 +217,8 @@ OPTIONS_DEFINE+= ${opt} OPTIONS_DEFAULT+= ${OPTIONS_DEFAULT_${ARCH}} _ALL_EXCLUDE= ${OPTIONS_EXCLUDE_${ARCH}} ${OPTIONS_EXCLUDE} \ - ${OPTIONS_SLAVE} ${OPTIONS_EXCLUDE_${OPSYS}} + ${OPTIONS_SLAVE} ${OPTIONS_EXCLUDE_${OPSYS}} \ + ${OPTIONS_EXCLUDE_${OPSYS}_${OSREL:R}} .for opt in ${OPTIONS_DEFINE:O:u} . if !${_ALL_EXCLUDE:M${opt}}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611241445.uAOEjxZb078640>