Subject: Re: why do packages depend on coreutils?
To: Jeremy C. Reed <reed@reedmedia.net>
From: Krister Walfridsson <cato@df.lth.se>
List: tech-pkg
Date: 10/16/2006 18:18:32
On Mon, 16 Oct 2006, Jeremy C. Reed wrote:

>> I realized that since very recently pkgsrc seems to have a general
>> dependency on coreutils. What did introduce that?
>
> What platform? (IRIX?)
>
> See mk/tools/replace.mk:
>
> # These tools are all supplied by the sysutuils/coreutils package if
> # there is no native tool available.
> #
> _TOOLS.coreutils=       basename cat chgrp chmod chown cp cut date      \
>                        dirname echo env expr false head hostname id    \
>                        install ln ls mkdir mv nice printf pwd rm rmdir \
>                        sleep sort tail tee test touch tr true tsort wc
>
> Maybe that is why?

Yes, and this breaks bootstrapping pkgsrc on platforms that triggers
a dependency on sysutils/coreutils, as pkgtools/digest then depends
on sysutils/coreutils, and sysutils/coreutils can of course not be
built before pkgtools/digest is installed...

    /Krister