From owner-svn-ports-all@freebsd.org Thu Jan 4 19:58:19 2018 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 E884BEB24A9; Thu, 4 Jan 2018 19:58:19 +0000 (UTC) (envelope-from bdrewery@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 B51717CB53; Thu, 4 Jan 2018 19:58:19 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w04JwI11045111; Thu, 4 Jan 2018 19:58:18 GMT (envelope-from bdrewery@FreeBSD.org) Received: (from bdrewery@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w04JwIXS045110; Thu, 4 Jan 2018 19:58:18 GMT (envelope-from bdrewery@FreeBSD.org) Message-Id: <201801041958.w04JwIXS045110@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bdrewery set sender to bdrewery@FreeBSD.org using -f From: Bryan Drewery Date: Thu, 4 Jan 2018 19:58:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r458054 - head/Mk/Scripts X-SVN-Group: ports-head X-SVN-Commit-Author: bdrewery X-SVN-Commit-Paths: head/Mk/Scripts X-SVN-Commit-Revision: 458054 X-SVN-Commit-Repository: ports 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.25 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: Thu, 04 Jan 2018 19:58:20 -0000 Author: bdrewery Date: Thu Jan 4 19:58:18 2018 New Revision: 458054 URL: https://svnweb.freebsd.org/changeset/ports/458054 Log: Fix some *-list targets not properly passing FLAVOR down the chain. Approved by: portmgr (implicit) MFH: 2018Q1 Modified: head/Mk/Scripts/depends-list.sh Modified: head/Mk/Scripts/depends-list.sh ============================================================================== --- head/Mk/Scripts/depends-list.sh Thu Jan 4 19:55:28 2018 (r458053) +++ head/Mk/Scripts/depends-list.sh Thu Jan 4 19:58:18 2018 (r458054) @@ -53,6 +53,7 @@ check_dep() { local _dep wrkdir show_dep for _dep ; do + unset FLAOVR myifs=${IFS} IFS=: set -- ${_dep} @@ -65,7 +66,10 @@ check_dep() { case "${d}" in *@*/*) ;; # Ignore @ in the path which would not be a flavor - *@*) d=${d%@*} ;; + *@*) + export FLAVOR=${d##*@} + d=${d%@*} + ;; esac case " ${checked} " in