Date: Thu, 26 Mar 2015 17:31:20 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r382333 - head/Mk Message-ID: <201503261731.t2QHVKHX089917@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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}}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503261731.t2QHVKHX089917>