Subject: RE: upgrading a pkgsrc tree
To: Sean Witham <Sean.Witham@asa.co.uk>
From: Tim Rightnour <root@garbled.net>
List: netbsd-help
Date: 06/16/1998 16:29:00
On 16-Jun-98 Sean Witham spoke unto us all:
# 
# Is there an advisable way to upgrade a /usr/pkgsrc tree created
# with the 1.3.2 release ?
# 
# The packages ImageMagick and fly won't build. In the case if ImagMagik
# the orginal tgz file has be replaced with a new release 4.0.6 but my
# installation needs 4.0.5. and in the case of fly the md5 checksum
# dosen't match. Presumeably these problems would be solved by user the
# -current release of pkgsrc but will it causes and confusion with the
# packages already installed.
# 

I actually run sup on the pkgsrc collection to keep it up to date.  You will
run into some problems however, with things like gtexinfo.  If you catch the
pkg tree attempting to build a new gtexinfo.  Stop it.. pkg_delete the old one,
and then resume the build. 

Other than that.. there is no reason not to stay fully current with the pkgsrc
tree.  There are only a few gotchas.  If you only need like one thing (like
imagemagik) You can just go to the netbsd-current tree on the ftp site and only
download the makefiles and patches you need for the one pkg.  (this generally
works, though you may have to download the pkgsrc/mk tree as well, depending on
how old your pkgsrc is.)

---
Tim Rightnour    -  root@garbled.net
http://www.zynetwc.com/~garbled/garbled.html