Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@netbsd.org>
From: Martin Husemann <martin@netbsd.org>
List: pkgsrc-changes
Date: 09/10/2001 23:03:19
Module Name:	pkgsrc
Committed By:	martin
Date:		Mon Sep 10 20:03:19 UTC 2001

Modified Files:
	pkgsrc/mk: bsd.pkg.mk

Log Message:
Add support for two environment variables to help update all your
installed packages and only rebuild everything once:

 STOP_DOWNLEVEL_AFTER_FIRST
    if set makes "make show-downlevel" stop a bit earlier (since with the
    other one below you will be only interested in the first downlevel
    pkg found).

 REBUILD_DOWNLEVEL_DEPENDS
    if set forces the pattern match for dependencies to fail whenever the
    installed pkg is not the version in the makefile (i.e. "make show-downlevel"    would print a version mismatch for the dependecy). This causes all
    downlevel dependencies (and everything depending on them) to be rebuild.

Enhancements, like making this all work with make command line flags and
settings in /etc/mk.conf are welcome. A way to stop "make show-downlevel"
through all upper levels of recursion imediately would be very usefull too.


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

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