On Wed, Nov 30, 2011 at 12:49:40AM +0100, John Marino wrote:
Yes, that's exactly what Tinderbox is doing. I had not seen this
"OR" functionality before, it's probably unique to pkgsrc (meaning
FreeBSD ports doesn't have it, so Tinderbox wouldn't handle it.) I
should be able to modify the handling for this pearl case. In
general this "OR" functionality is going to be hard to handle. Does
it have wide-spread use outside of perl?
An incorrect (overmatching) grep finds about 400 instances. Browsing over them,
nearly are perl-related, but there are a few others:
./mk/tools/automake.mk:BUILD_DEPENDS+=
{gettext-0.10.35nb1,gettext-m4-[0-9]*}:../../devel/gettext-m4
./net/ispman/Makefile:DEPENDS+=
{postfix>=20010228,postfix-1.*,postfix-2.*}:../../mail/postfix
./net/nagios-plugins/Makefile:DEPENDS+=
{ssh{,6}-[0-9]*,openssh-[0-9]*}:../../security/openssh
./net/srsh/Makefile:DEPENDS+=
{ssh{,6}-[0-9]*,openssh-[0-9]*}:../../security/openssh
./print/foomatic-filters/Makefile:DEPENDS+=
{cups>=1.0,${TEXTTOPS_DEPENDS}}:../../print/cups
./security/seahorse/Makefile:DEPENDS+=
{ssh{,6}-[0-9]*,openssh-[0-9]*}:../../security/openssh
./security/ssh-ip-tunnel/Makefile:DEPENDS+=
{openssh-[0-9]*,ssh{,6}-1.2.27*}:../../security/openssh
./wip/autoproject/Makefile:DEPENDS+=
{sh-utils-[0-9]*,coreutils-[0-9]*}:../../sysutils/coreutils
Take care, there are some with different order:
./devel/p5-Params-Validate/Makefile:DEPENDS+=
{p5-Attribute-Handlers>=0.79,perl>=5.10.0}:../../devel/p5-Attribute-Handlers
Cheers,
Thomas