From owner-svn-src-user@FreeBSD.ORG Fri Jul 20 08:36:54 2012 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0749A106566B; Fri, 20 Jul 2012 08:36:54 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E69028FC18; Fri, 20 Jul 2012 08:36:53 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q6K8arGZ074108; Fri, 20 Jul 2012 08:36:53 GMT (envelope-from dougb@svn.freebsd.org) Received: (from dougb@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q6K8araT074106; Fri, 20 Jul 2012 08:36:53 GMT (envelope-from dougb@svn.freebsd.org) Message-Id: <201207200836.q6K8araT074106@svn.freebsd.org> From: Doug Barton Date: Fri, 20 Jul 2012 08:36:53 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r238654 - user/dougb/portmaster X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jul 2012 08:36:54 -0000 Author: dougb Date: Fri Jul 20 08:36:53 2012 New Revision: 238654 URL: http://svn.freebsd.org/changeset/base/238654 Log: Bug fix: Do read_distinfos() in the background for multiport() too, oops Update the comment re read_distinfos() in the single port code to reflect current reality Modified: user/dougb/portmaster/portmaster Modified: user/dougb/portmaster/portmaster ============================================================================== --- user/dougb/portmaster/portmaster Fri Jul 20 08:33:23 2012 (r238653) +++ user/dougb/portmaster/portmaster Fri Jul 20 08:36:53 2012 (r238654) @@ -2834,6 +2834,8 @@ multiport () { fi unset portlist + [ -n "$DI_FILES" ] && (read_distinfos)& + # First Pass if [ -n "$PM_BUILD_ONLY_LIST" ]; then PM_BUILD_ONLY_LIST=pmp_doing_build_deps @@ -3302,7 +3304,7 @@ fi # Do these things first time through if [ -z "$PM_INDEX_ONLY" -a -z "$PM_BUILDING" -a -z "$SHOW_WORK" -a -z "$NO_ACTION" ]; then - # Do not start this in the background until we are sure we are going to build + # Do not start this in the background until we are sure we are going to proceed [ "$$" -eq "$PM_PARENT_PID" -a -n "$DI_FILES" ] && (read_distinfos)& # Handle the problem of manual fetching