Subject: Re: pkgsrc installing binary packages
To: Jeremy C. Reed <reed@reedmedia.net>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: tech-pkg
Date: 05/20/2001 04:05:47
On Thu, 17 May 2001, Jeremy C. Reed wrote:
> I had: "Version mismatch: 'xpaint' 2.5.6 vs 2.6.1."

Good point. I made bin-install do the same check now as the install target
does:

	miyu% make bin-install
	===>  mpg123-0.59r is already installed - perhaps an older version?
	*** If so, you may wish to ``pkg_delete mpg123-0.59r'' and install
	*** this package again by ``make bin-install'' to upgrade it properly.
	*** Error code 1
	Stop.

I have committed this to pkgsrc etc. (Packages.txt, mk.conf.example,
packages.7).

If someone feels strong for the 'update' target, it may be good to
investigate a bin-update target that calls 'make update' with
DEPENDS_TARGET=bin-install. 


 - Hubert

-- 
Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>