Time to abandon recursive pulling of dependencies?
Stephen Montgomery-Smith
stephen at math.missouri.edu
Sun May 13 22:53:29 UTC 2007
Pav Lucistnik wrote:
> Stephen Montgomery-Smith píše v ne 13. 05. 2007 v 17:32 -0500:
>
>> I have looked into making the registration and package-building process
>> even faster. It seems to me that the easiest way would be to redesign
>> the package database so that it also includes a
>> package-name/+DEPENDENCIES file, which would be a kind of reverse of
>> package-name/+REQUIRED_BY. This could be used instead of "make
>> package-depends" in creating PKG_ARGS in bsd.port.mk. Creating
>> +DEPENDENCIES would be very easy - you "cat" together the files of the
>> immediate dependencies ${RUN_LIB_DEPENDS} and do a "uniq" to the final
>> result.
>
> Sounds like a plan.
>
> Also, it would fix part of a long standing problem, that dependencies
> are recorded according to the ports tree, not according to a real state
> of affairs on the victim's computer.
>
Unfortunately this won't happen quite as nicely as you think it should.
It proposed new scheme won't get the immediate dependencies correct.
More information about the freebsd-ports
mailing list