Portupgrade not running get_notinstalled_depends (2.4.3_1, 2 vs 2.4.3_2, 2)

James james at hicag.org
Wed Feb 20 15:57:38 UTC 2008


hihi.  I was wondering what sort of problems the following change to
portupgrade was solving:

--------------------------------------------------------------------------

sem         2008-02-11 16:17:39 UTC

  FreeBSD ports repository

  Modified files:
    ports-mgmt/portupgrade Makefile
    ports-mgmt/portupgrade/files patch-bin-portupgrade
  Log:
  - Remove code that gather not installed depends. It makes more problems
    than solves.

  Discussed with: pav

  Revision  Changes    Path
  1.249     +1 -1      ports/ports-mgmt/portupgrade/Makefile
  1.13      +13 -3     ports/ports-mgmt/portupgrade/files/patch-bin-portupgrade

--------------------------------------------------------------------------

It seems to break ALT_PKGDEP processing during a portupgrade run
because alt_dep happens in get_notinstalled_depends.

For example, in my tests, if I have an alt-dep set for a package and I
install a port that depends on that package it'll still install the
original package rather than my alt-dep.

If I revert the change that happened in 2.4.3_2,2 the alt-dep stuff
works out.  I'm worried that I'm opening up a can of worms because I
don't understand what problems were trying to be solved in that
version.  Any ideas?  Or does it sound like I'm misunderstanding
ALT_PKGDEP?

Thanks!

-- 
James.


More information about the freebsd-ports mailing list