Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Feb 2006 00:44:56 -0800
From:      Doug Barton <dougb@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: New /bin/sh based script to manage ports
Message-ID:  <43E31808.6070205@FreeBSD.org>
In-Reply-To: <20060203065504.GA3857@weller-fahy.com>
References:  <43C97BEB.3030601@FreeBSD.org> <43CA33E4.40809@ebs.gr>	<43D610B6.5080008@FreeBSD.org> <43DE40FE.6000507@ebs.gr>	<43DE6C65.9040306@FreeBSD.org> <43DE7652.9050807@ebs.gr>	<43DF346B.407@FreeBSD.org> <43DF40BC.4060600@ebs.gr>	<43E2B3A6.9060508@FreeBSD.org> <43E2B530.4050500@FreeBSD.org> <20060203065504.GA3857@weller-fahy.com>

next in thread | previous in thread | raw e-mail | index | archive | help
David J. Weller-Fahy wrote:

> One thing I did notice is that you use only the pkgdeps from the
> +CONTENTS files to determine dependencies.  Is there a particular reason
> (besides speed) that you went with the pkgdeps instead of the *DEPENDS
> variables in the port? I noticed (for the mailfront port, in
> particular) that bglibs was not listed as a dependency by portmaster,
> but is a build dependency of mailfront, and wondered what implications
> that could have.

This depends on which direction you're approaching the problem from. When
building a port, the check for whether the dependencies of the port are up
to date uses the list from 'make all-depends-list', which will include build
dependencies. However, once a port has been built and installed
successfully, the list of ports which have a dependency on the updated port
is cross checked between the +REQUIRED_BY in the package directory and the
+CONTENTS files of the other installed ports. In this way we can be sure
that all appropriate dependencies are recorded, and updated. Since
BUILD_DEPENDS are not registered in the +CONTENTS or +REQUIRED_BY files,
they don't show up at that stage, and portmaster doesn't update information
about them (because that information doesn't exist).


hth,

Doug

-- 

    This .signature sanitized for your protection




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