Subject: CVS commit: pkgsrc/mk/install
To: None <pkgsrc-changes@NetBSD.org>
From: Roland Illig <rillig@netbsd.org>
List: pkgsrc-changes
Date: 09/19/2007 13:26:19
Module Name:	pkgsrc
Committed By:	rillig
Date:		Wed Sep 19 13:26:19 UTC 2007

Modified Files:
	pkgsrc/mk/install: bin-install.mk

Log Message:
When using bin-install, the version of the installed package was checked
twice: First against the required package pattern (PKGNAME_REQD), and
then against the current version (PKGNAME). When only a binary package
for an old (but sufficient) version of a package was available, that
version had been installed and the current version been built
afterwards, which was unnecessary.

This problem was mentioned in PR 36146, and is hereby fixed.

By the way, the code was really ugly: The messages that had been printed
didn't reflect what the code was actually doing. This is fixed, too.


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 pkgsrc/mk/install/bin-install.mk

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