[paludis-user] cave : libX11-1.4.0 issue

Ciaran McCreesh ciaran.mccreesh at googlemail.com
Mon Dec 13 08:58:59 UTC 2010


On Sun, 12 Dec 2010 23:04:09 +0100
Rodolphe Rocca <maitrechang at gmail.com> wrote:
> > It's an ebuild bug. || ( a b ) means "prefer a, but b is fine too".
> 
> What would be the correct syntax then ?
> 
> I tried :
> 
> opengl? ( virtual/opengl ||
> (<x11-libs/libX11-1.3.99.901[xcb] ||>=x11-libs/libX11-1.3.99.901 ) )
> 
> 
> But it looks like a real syntax error, not a sematic mistake.

It's || ( a b ) not ( a || b ) . The issue is that the 'best' thing is
expected to be leftmost. Thus, ebuilds should always do || ( >cat/a-1
<cat/a-1 ) and the like, never the other way around.

-- 
Ciaran McCreesh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.exherbo.org/pipermail/paludis-user/attachments/20101213/1daca4f2/attachment.asc>


More information about the paludis-user mailing list