Subject: CVS commit: pkgsrc
To: None <source-changes@netbsd.org>
From: Todd Vierling <tv@netbsd.org>
List: source-changes
Date: 05/24/1999 16:04:53
Module Name:	pkgsrc
Committed By:	tv
Date:		Mon May 24 23:04:53 UTC 1999

Modified Files:
	pkgsrc/mk: bsd.pkg.mk
Log Message:
- The comment above the _COOKIE settings says "don't change these!!", so
  use = to set them, not ?=.

- _DEPENDS_USE doesn't actually do any macro expansion, so save some
  processing time by executing it exactly once (remove the .USE operator).

- Merge the IGNORE targets.  Add an IGNORE target for depends and
  check-depends (see bottom).

- Don't check for installation of a package in ${DEPENDS} when doing
  a "make depends".  Instead, let the return code of make fall through
  (using && instead of ; in the last clause of each depend recursion block).

- Provide a variable IGNORE_FAIL:  when set, causes the ignore message
  to be printed (regardless of IGNORE_SILENT or ECHO_MSG setting) and the
  build to fail with ${FALSE}.  Used with the next addition:

- Add a new target, "check-depends", which is called as part of "real-fetch".
  This validates whether the dependencies of a pkg to be built are installed,
  and if not, whether those dependencies will prospectively build (will
  not set IGNORE directly or indirectly through the various disable options).
  Recurses to "depends" with a DEPENDS_TARGET of "check-depends".

...And now, it is no longer necessary to mark dependent pkgs as unusable
when their dependencies are unusable thanks to an incorrect LICENSE,
_FOR_PLATFORM setting, and so forth.  The check-depends step will validate
everything before fetching a single file.

To generate a diff of this commit:
cvs rdiff -r1.274 -r1.275 pkgsrc/mk/bsd.pkg.mk

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