Subject: PR/32202 CVS commit: pkgsrc/mk
To: None <rillig@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org>
From: Roland Illig <rillig@netbsd.org>
List: pkgsrc-bugs
Date: 12/01/2005 00:18:01
The following reply was made to PR pkg/32202; it has been noted by GNATS.

From: Roland Illig <rillig@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/32202 CVS commit: pkgsrc/mk
Date: Thu,  1 Dec 2005 00:17:05 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	rillig
 Date:		Thu Dec  1 00:17:05 UTC 2005
 
 Modified Files:
 	pkgsrc/mk: bsd.pkg.mk
 
 Log Message:
 The new target do-check-pkg-fail-reason should to be a dependency of
 every top level target that is intended to be called by the user or by a
 package different from the current package. It provides the same action
 as the "main" targets like "fetch", "expand", "build" before in case
 PKG_FAIL_REASON is set, that is it prints all PKG_FAIL_REASONs and
 fails.
 
 Fixes PR 32202.
 
 Implementation notes:
 - The target names have the "do-" prefix to not pollute the
   bsd.pkg.check.mk namespace.
 - The PKG_SKIP_REASON has no influence on the do-check-pkg-fail-reason
   target, although both are handled with the same code.
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.1769 -r1.1770 pkgsrc/mk/bsd.pkg.mk
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.