Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Feb 2005 01:09:21 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        "Michael C. Shultz" <reso3w83@verizon.net>
Cc:        Ean Kingston <ean@hedron.org>
Subject:   Re: Updated perl - broke stuff
Message-ID:  <20050214090921.GA36024@xor.obsecurity.org>
In-Reply-To: <200502140037.30061.reso3w83@verizon.net>
References:  <200501271852.j0RIqQ9t010411@mp.cs.niu.edu> <200502131815.21142.reso3w83@verizon.net> <20050214023410.GA27186@xor.obsecurity.org> <200502140037.30061.reso3w83@verizon.net>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Mon, Feb 14, 2005 at 12:37:28AM -0800, Michael C. Shultz wrote:

> portupgrade -rf forces the rebuild of the port and ALL of its 
> dependencies, and it builds them  in the wrong order, it is nothing 
> like portmanager.
> 
> example:
> 
> if the following are installed:
> 
> masterPort-0.0
> dependentPort-A-0.0
> dependentPort-B-0.0
> 
> then
> 
> dependency-A-0.0 is upgraded
> to dependency-A-0.1
> 
> portupgrade -rf masterPort-0.0
> 
> will build the following in the following order:
> 
> masterPort-0.0
> dependentPort-A-0.1
> dependentPort-B-0.0

Maybe I misunderstand what relationship you are thinking of between
these ports, but 'portupgrade -rf dependency-A-0.0' would do
dependency-A, then masterPort, just as below.  Are you confusing -r
with -R (which upgrades ports 'in the other direction in the
dependency tree')?  If I'm misunderstanding what you mean, can you
spell it out with clearer Makefile fragments (i.e. what RUN_DEPENDS on
what)?

> portmanager -u will do the following:
> 
> dependentPort-A-0.1
> masterPort-0.0
> 
> There is a huge difference here!  Portupgrade
> builds the top level port before it's dependencies,
> then proceeds to build all of the dependencies wither
> they need it or not.

Kris
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCEGrBWry0BWjoQKURAlHUAKCfRcZjAcGf4qFp1+9WvyL4a9PGLwCgqDvp
R0zHP+Uj4p7QIW3rPQczZyU=
=K8Ox
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050214090921.GA36024>