From owner-svn-ports-head@freebsd.org Mon Dec 18 22:22:08 2017 Return-Path: Delivered-To: svn-ports-head@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 A5216E8D7E9; Mon, 18 Dec 2017 22:22:08 +0000 (UTC) (envelope-from se@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 7E35E73C48; Mon, 18 Dec 2017 22:22:08 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBIMM7KH040407; Mon, 18 Dec 2017 22:22:07 GMT (envelope-from se@FreeBSD.org) Received: (from se@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBIMM752040405; Mon, 18 Dec 2017 22:22:07 GMT (envelope-from se@FreeBSD.org) Message-Id: <201712182222.vBIMM752040405@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: se set sender to se@FreeBSD.org using -f From: Stefan Esser Date: Mon, 18 Dec 2017 22:22:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r456687 - in head/ports-mgmt/portmaster: . files X-SVN-Group: ports-head X-SVN-Commit-Author: se X-SVN-Commit-Paths: in head/ports-mgmt/portmaster: . files X-SVN-Commit-Revision: 456687 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Dec 2017 22:22:08 -0000 Author: se Date: Mon Dec 18 22:22:07 2017 New Revision: 456687 URL: https://svnweb.freebsd.org/changeset/ports/456687 Log: Add all-depends-list case required for portmaster -t. Approved by: antoine (implicit) Modified: head/ports-mgmt/portmaster/Makefile head/ports-mgmt/portmaster/files/patch-portmaster Modified: head/ports-mgmt/portmaster/Makefile ============================================================================== --- head/ports-mgmt/portmaster/Makefile Mon Dec 18 22:02:23 2017 (r456686) +++ head/ports-mgmt/portmaster/Makefile Mon Dec 18 22:22:07 2017 (r456687) @@ -2,7 +2,7 @@ PORTNAME= portmaster PORTVERSION= 3.17.11 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= ports-mgmt MASTER_SITES= LOCAL/bdrewery/${PORTNAME}/ \ http://mirror.shatow.net/freebsd/${PORTNAME}/ \ Modified: head/ports-mgmt/portmaster/files/patch-portmaster ============================================================================== --- head/ports-mgmt/portmaster/files/patch-portmaster Mon Dec 18 22:02:23 2017 (r456686) +++ head/ports-mgmt/portmaster/files/patch-portmaster Mon Dec 18 22:22:07 2017 (r456687) @@ -9,6 +9,15 @@ export_flavor () { local flavor="$1"; if [ "$FLAVOR" != "$flavor" ]; then pm_v "===>>> Setting FLAVOR to '$flavor' (was '$FLAVOR')"; export FLAVOR="$flavor"; fi; } +@@ -652,7 +652,7 @@ for var in "$@" ; do + export LOCAL_PACKAGEDIR ;; + --delete-packages) PM_DELETE_PACKAGES=pm_delete_packages + export PM_DELETE_PACKAGES ;; +- --flavor=*) PM_FLAVOR=${var#--flavor=} ;; ++# --flavor=*) PM_FLAVOR=${var#--flavor=} ;; + --update-if-newer) PM_UPDATE_IF_NEWER=pm_update_if_newer + export PM_UPDATE_IF_NEWER ;; + --delete-build-only) PM_DEL_BUILD_ONLY=pm_dbo @@ -1039,7 +1039,7 @@ find_moved_port () { return 0 else @@ -68,17 +77,22 @@ update_build_l () { local originflavor origin flavor iport -@@ -2281,7 +2281,7 @@ make_dep_list () { +@@ -2280,10 +2280,12 @@ make_dep_list () { + for dep_type in $*; do case $dep_type in ++ all-depends-list) ++ var_opt="$var_opt -V BUILD_DEPENDS -V LIB_DEPENDS -V RUN_DEPENDS" ;; build-depends-list) - var_opt="$var_opt -V BUILD_DEPENDS" ;; + var_opt="$var_opt -V BUILD_DEPENDS -V LIB_DEPENDS" ;; run-depends-list) -- var_opt="$var_opt -V RUN_DEPENDS" ;; +- var_opt="$var_opt -V RUN_DEPENDS" ;; + var_opt="$var_opt -V RUN_DEPENDS -V LIB_DEPENDS" ;; *) -@@ -2436,9 +2436,7 @@ dependency_check () { + fail "make_dep_list: Unsupported option '$dep_type'" + esac +@@ -2436,9 +2438,7 @@ dependency_check () { confl_p=`pkg query -g "%n-%v" $glob 2>/dev/null` if [ -n "$confl_p" ]; then confl_p=${confl_p%% *} @@ -88,7 +102,7 @@ if [ "${d_port#$pd/}" = "$portdir" ]; then echo -e "\n===>>> $origin seems to depend on $portdir" echo ' which looks like a dependency loop' -@@ -2797,7 +2795,12 @@ multiport () { +@@ -2797,7 +2797,12 @@ multiport () { numports=$(( $numports - 1 )) continue fi @@ -102,7 +116,7 @@ esac case "$PM_NEEDS_UPDATE" in -@@ -3033,7 +3036,7 @@ if [ -z "$REPLACE_ORIGIN" ]; then +@@ -3033,7 +3038,7 @@ if [ -z "$REPLACE_ORIGIN" ]; then *) echo '' ; no_valid_port ;; esac done ;; @@ -111,7 +125,7 @@ esac if [ -z "$portdir" -a -z "$upg_port" ]; then -@@ -3129,12 +3132,13 @@ iport_from_pkgname () { +@@ -3129,12 +3134,13 @@ iport_from_pkgname () { dir=$(dir_part $1) flavor=$(flavor_part $1) pkgname=$(make -C "$pd/$dir" -V PKGNAME FLAVOR=$flavor) || return 1 @@ -127,7 +141,7 @@ # || fail "XXX Cannot find installed port '$portdir'" fi -@@ -3594,6 +3598,7 @@ if [ -z "$use_package" ]; then +@@ -3594,6 +3600,7 @@ if [ -z "$use_package" ]; then fi pm_cd_pd $portdir