Subject: CVS commit: pkgsrc/mk
To: None <>
From: Roland Illig <>
List: pkgsrc-changes
Date: 12/01/2005 00:17:05
Module Name:	pkgsrc
Committed By:	rillig
Date:		Thu Dec  1 00:17:05 UTC 2005

Modified Files:

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

Fixes PR 32202.

Implementation notes:
- The target names have the "do-" prefix to not pollute the 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/

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.