tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: DEPENDS lines with multiple packages, and old bulk builds (perl)



Thomas Klausner <wiz%NetBSD.org@localhost> writes:

> On Thu, Jul 11, 2013 at 02:54:00PM -0400, Greg Troxel wrote:
>> Looking in doc/pkgsrc.txt, the use of {pkg1>=x,pkg2>=y} is not
>> described, and the text is quite clear that only a single package
>> belongs on the left hand side.
>
> The syntax means that either pkg1>=x is acceptable or pkg2>=y.
>
> Why is the syntax a problem? I don't think the pattern has changed in
> a long time, has it?

It's a problem at least because it is not documented, if nothing else.

It's a problem that the bulk build code gets confused:

  ===> Installing dependencies for p5-Digest-MD5-2.51nb1
  [omitted some other stuff]
  => Returning to build of p5-Digest-MD5-2.51nb1
  => Build dependency checkperms>=1.1: found checkperms-1.11
  => Full dependency {perl>=5.7.3,p5-Digest>=1.00}: NOT found
  => Verifying bulk-install for ../../security/p5-Digest
  [proceeds to install p5-Digest]

In this particular case, it seems that a perl newer than 5.7.3 should be
required by anything that requires perl anyway, and we can just drop the
line entirely.

Attachment: pgphVyh4Of6wM.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index