Subject: CVS commit: basesrc/usr.sbin/pkg_install
To: None <source-changes@netbsd.org>
From: Alistair G. Crooks <agc@netbsd.org>
List: source-changes
Date: 03/06/2002 19:45:21
Module Name:	basesrc
Committed By:	agc
Date:		Wed Mar  6 17:45:21 UTC 2002

Modified Files:
	basesrc/usr.sbin/pkg_install/add: perform.c
	basesrc/usr.sbin/pkg_install/lib: version.h

Log Message:
When adding packages via pkg_add(1), and a pre-requisite package needs
to be added, first try to use the exact version of the pre-requisite
with which the base package was built (from the @blddep directive in
the +CONTENTS file), and then use the traditional dependency from the
@pkgdep directive.

Also rename a variable from "code" to "errc" to make it obvious what
the variable counts.

Bump version number to 20020306.


To generate a diff of this commit:
cvs rdiff -r1.61 -r1.62 basesrc/usr.sbin/pkg_install/add/perform.c
cvs rdiff -r1.11 -r1.12 basesrc/usr.sbin/pkg_install/lib/version.h

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