From owner-svn-ports-all@freebsd.org Fri Nov 13 13:50:37 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0E1E5A2E4E8; Fri, 13 Nov 2015 13:50:37 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C88CD1609; Fri, 13 Nov 2015 13:50:36 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tADDoZMM087516; Fri, 13 Nov 2015 13:50:35 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tADDoZRw087515; Fri, 13 Nov 2015 13:50:35 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201511131350.tADDoZRw087515@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Fri, 13 Nov 2015 13:50:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r401514 - head/Mk X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Nov 2015 13:50:37 -0000 Author: mat Date: Fri Nov 13 13:50:35 2015 New Revision: 401514 URL: https://svnweb.freebsd.org/changeset/ports/401514 Log: Refactor the list of all excluded options so that the second place it is needed is not forgotten any more. PR: 204510 With hat: portmgr Sponsored by: Absolight Modified: head/Mk/bsd.options.mk Modified: head/Mk/bsd.options.mk ============================================================================== --- head/Mk/bsd.options.mk Fri Nov 13 13:47:52 2015 (r401513) +++ head/Mk/bsd.options.mk Fri Nov 13 13:50:35 2015 (r401514) @@ -205,9 +205,11 @@ OPTIONS_DEFINE+= ${opt} # Add per arch defaults OPTIONS_DEFAULT+= ${OPTIONS_DEFAULT_${ARCH}} +_ALL_EXCLUDE= ${OPTIONS_EXCLUDE_${ARCH}} ${OPTIONS_EXCLUDE} \ + ${OPTIONS_SLAVE} ${OPTIONS_EXCLUDE_${OPSYS}} + # Remove options the port maintainer doesn't want -.for opt in ${OPTIONS_EXCLUDE_${ARCH}} ${OPTIONS_EXCLUDE} ${OPTIONS_SLAVE} \ - ${OPTIONS_EXCLUDE_${OPSYS}} +.for opt in ${_ALL_EXCLUDE:O:u} OPTIONS_DEFAULT:= ${OPTIONS_DEFAULT:N${opt}} OPTIONS_DEFINE:= ${OPTIONS_DEFINE:N${opt}} PORT_OPTIONS:= ${PORT_OPTIONS:N${opt}} @@ -451,7 +453,7 @@ ALL_OPTIONS= ${OPTIONS_DEFINE} _OPTIONS_${target}?= .endfor -.for opt in ${COMPLETE_OPTIONS_LIST} ${OPTIONS_SLAVE} ${OPTIONS_EXCLUDE_${ARCH}} ${OPTIONS_EXCLUDE} +.for opt in ${COMPLETE_OPTIONS_LIST} ${_ALL_EXCLUDE:O:u} # PLIST_SUB PLIST_SUB?= SUB_LIST?=