svn commit: r382333 - head/Mk
John Marino
marino at FreeBSD.org
Thu Mar 26 17:31:21 UTC 2015
Author: marino
Date: Thu Mar 26 17:31:20 2015
New Revision: 382333
URL: https://svnweb.freebsd.org/changeset/ports/382333
QAT: https://qat.redports.org/buildarchive/r382333/
Log:
Mk/bsd.options.mk: Add OPTIONS_EXCLUDE_${OPSYS}
This simple addition greatly simplifies the removal of options as a
function of operating system, e.g. OPTIONS_EXCLUDE_DragonFly.
Approved by: portmgr (bdrewery)
Modified:
head/Mk/bsd.options.mk
Modified: head/Mk/bsd.options.mk
==============================================================================
--- head/Mk/bsd.options.mk Thu Mar 26 17:24:59 2015 (r382332)
+++ head/Mk/bsd.options.mk Thu Mar 26 17:31:20 2015 (r382333)
@@ -35,6 +35,7 @@
#
# 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_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
@@ -171,7 +172,8 @@ OPTIONS_DEFINE+= ${opt}
OPTIONS_DEFAULT+= ${OPTIONS_DEFAULT_${ARCH}}
# Remove options the port maintainer doesn't want
-.for opt in ${OPTIONS_EXCLUDE_${ARCH}} ${OPTIONS_EXCLUDE} ${OPTIONS_SLAVE}
+.for opt in ${OPTIONS_EXCLUDE_${ARCH}} ${OPTIONS_EXCLUDE} ${OPTIONS_SLAVE} \
+ ${OPTIONS_EXCLUDE_${OPSYS}}
OPTIONS_DEFAULT:= ${OPTIONS_DEFAULT:N${opt}}
OPTIONS_DEFINE:= ${OPTIONS_DEFINE:N${opt}}
PORT_OPTIONS:= ${PORT_OPTIONS:N${opt}}
More information about the svn-ports-all
mailing list