Subject: PR/36146 CVS commit: pkgsrc/mk/install
To: None <rillig@NetBSD.org, gnats-admin@netbsd.org,>
From: Roland Illig <rillig@netbsd.org>
List: pkgsrc-bugs
Date: 09/19/2007 13:30:03
The following reply was made to PR pkg/36146; it has been noted by GNATS.

From: Roland Illig <rillig@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/36146 CVS commit: pkgsrc/mk/install
Date: Wed, 19 Sep 2007 13:26:19 +0000 (UTC)

 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.