diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-11-24 14:45:58 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-11-24 14:45:58 +0000 |
commit | 91476b932958032d0ffab9a211b3119f078bebc3 (patch) | |
tree | 76a6f9f4cfa3935431ca3ea32190ae2a1591dedd /Mk | |
parent | 6a7ba755fc5a6afdae5b7df80803829b04f03fff (diff) | |
download | ports-91476b932958032d0ffab9a211b3119f078bebc3.tar.gz ports-91476b932958032d0ffab9a211b3119f078bebc3.zip |
Notes
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.options.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Mk/bsd.options.mk b/Mk/bsd.options.mk index 7399de4b1514..193400364461 100644 --- a/Mk/bsd.options.mk +++ b/Mk/bsd.options.mk @@ -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}} |