tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Cyclic dependency, please fix
Aleksey Cheusov wrote:
> >>> My distbb detected the following problem.
>
> >> Your distbb is wrong.
>
>> Ah, I realised
> Stop. That missed feature doesn't relate to this problem at all.
>
> I still don't understand why the following is not a cycle.
>
> 0 p5-version>bmake show-var VARNAME=BUILD_DEPENDS
> {perl>=5.10,p5-Module-Build>=0.2608nb1}:../../devel/p5-Module-Build
>
> 0 p5-version>cd ../p5-Module-Build
> 0 p5-Module-Build>bmake show-var VARNAME=DEPENDS
> ...
> p5-version>=0.74:../../devel/p5-version
> ...
>
> 0 p5-Module-Build>
>
> Also I don't see a documentation for
>
> {perl,completely-different-pkg}:../../devel/completely-different-pkg
>
> syntax in pkgsrc Guide section 19.1.7 and pkg_info(1).
>
> According to the documentation above {} braces should be expanded to
>
> perl:../../devel/completely-different-pkg
> completely-different-pkg:../../devel/completely-different-pkg
I hope I can explain from my simple point of view:
Module::Build is a core module of perl-5.10, so depending on perl>=5.10
would be enough. To give those developers a hint which want to use a
bug fixed or feature enhanced version, the second dependency is added.
Maybe it's a dirty trick (I do not understand enough to have a real
opinion), but it should work.
As far as I understood the syntax used here
> {perl>=5.10,p5-Module-Build>=0.2608nb1}:../../devel/p5-Module-Build
I think it means: it can depend either on X or Y, and building ../../A/Y
would satisfy at least on of the requirements.
>
> And there is no perl package in devel/completely-different-pkg.
> I don't understand this. Any help?
Finally perl is a dependency of pkgsrc/devel/p5-Module-Build:
> USE_TOOLS+= perl
>
> .include "../../lang/perl5/module.mk"
/Jens
Home |
Main Index |
Thread Index |
Old Index