On Sun, 12 Dec 2010 23:04:09 +0100 Rodolphe Rocca <[email protected]> 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
signature.asc
Description: PGP signature
_______________________________________________ paludis-user mailing list [email protected] http://lists.pioto.org/mailman/listinfo/paludis-user
