From owner-cvs-ports@FreeBSD.ORG Wed Jun 8 06:08:36 2011 Return-Path: Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C4B31065673; Wed, 8 Jun 2011 06:08:36 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7DAAF8FC12; Wed, 8 Jun 2011 06:08:36 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p5868aMW023609; Wed, 8 Jun 2011 06:08:36 GMT (envelope-from dougb@repoman.freebsd.org) Received: (from dougb@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p5868acM023608; Wed, 8 Jun 2011 06:08:36 GMT (envelope-from dougb) Message-Id: <201106080608.p5868acM023608@repoman.freebsd.org> From: Doug Barton Date: Wed, 8 Jun 2011 06:08:36 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/ports-mgmt/portmaster Makefile distinfo X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2011 06:08:36 -0000 dougb 2011-06-08 06:08:36 UTC FreeBSD ports repository Modified files: ports-mgmt/portmaster Makefile distinfo Log: Update to 3.9.1, a minor bugfix version: In shuffling around the updating of +REQUIRED_BY I forgot to delete empty grep_deps files. [1] While I'm looking at unlink'ing files, bring some sanity to the various places that it's done which haven't been reviewed in a while: * Fix the pm_unlink* functions to use the builtin test * Only/always call the function when we're not sure if the file exists * Just use /bin/unlink when we're sure it does * In parent_exit the glob pattern in the for loop will return 'pattern-*' if there are no matches, so test for that specifically rather than returning to the conditional version. The mere presence of IS_INTERACTIVE in the Makefile is not enough, the condition needs to be verified in case it is conditional [2] We want to make sure that $TMPDIR exists before trying to use it. The cheapest way to do this is to just call mkdir -p. Move the umask call before this to be safe. Split the test for the existence of /usr/X11R6 and whether or not it's a link for one more micro-optimization. Submitted by: olgeni [1] PR: ports/157481 [2] Submitted by: Carl [2] Revision Changes Path 2.45 +1 -1 ports/ports-mgmt/portmaster/Makefile 2.12 +4 -4 ports/ports-mgmt/portmaster/distinfo