-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 23-07-2010 09:31, Tiziano Müller wrote: > Am Freitag, den 23.07.2010, 09:06 +0200 schrieb Thomas Beierlein: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Hi Jorge, >> >> On Thu, 22 Jul 2010 18:04:59 +0000 >> "Jorge Manuel B. S. Vicetto" <jmbsvice...@gentoo.org> wrote: >>> If you want to use sqlite3 as default and assuming your prefer >>> postgres over mysql, you can use the following and drop the die from >>> pkg_setup. >>> >>> DEPEND=" >> ... snip ... >>> !bacula-clientonly? ( >>> sqlite3? ( >>> app-backup/bacula[-mysql.-postgres] >>> dev-db/sqlite:3 >>> ) >>> !sqlite3? ( >>> postgres? ( >>> mysql? ( app-backup/bacula[-mysql] ) >>> dev-db/postgresql-base[threads] >>> ) >>> !postgres? ( >>> mysql? ( virtual/mysql ) >>> !mysql? ( app-backup/bacula[sqlite3] ) >>> ) >>> !bacula-nodir? ( virtual/mta ) >>> ) >> ... snip ... >>> " >> >> interesting. I did not know that an ebuild can use-depend on itself. >> Good to know. > No, not good. It doesn't make any sense.
You may not like it, but saying it doesn't make sense is wrong. It does make sense and ensures what Tom was trying to get and is already being used in the tree. > We will have a solution for such cases somewhere in the future, but at > the moment you should just display a warning that even though the user > specified more than one db only is going to be used. Nothing prevents us from using the above, which already produces the same output as basic use dependencies, so users should be getting used to it by now. It would be great if PMs could produce more detailed warnings to the user, but that can wait (may have to wait?) for the new solutions. > Cheers, > Tiziano > - -- Regards, Jorge Vicetto (jmbsvicetto) - jmbsvicetto at gentoo dot org Gentoo- forums / Userrel / Devrel / KDE / Elections -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJMSYrlAAoJEC8ZTXQF1qEPW7oP/0Ct9gGS3xeFjkX1EI2PwkL6 uu9ZMQOnKIrfeWkmN3XCtTB/CHoBKLQlnspiOh47O3Rm+dsOcaWg+sjTp+4UJqO9 ldTjEltcEbAk7PdpVceg4c3vvXJBsVyVWCYY2tXCQA7MQMamLZ12GxaqfB9un+hl BuqUwqdvLaZ3EFkOyZR4UfSGd4sRPGaTQjHGtk0/P8LJXOy9RjfMPCYTfyKuSuHG B0OU5y+GPcjEQtfkIDCQpUoKH/K3IhIwlkNGd9+nmS+x1ny9GZ0XSr4YiR+lVpLq TU2iHW75HFJa6g0f4HGE01gwRfYy7QX9EZsjenrEiN6dkvI2BOIB92VWXj9Y5Ppa ZBQey9MfQ7m26V4fJtlzM+PP25uJkIJLHBTPlrE44xuCWxMwKXjtGcFGrAkn1Uof xJC94OhzGglcGxBcj8oKNRsdLPcPSajctbZgnxyLMUYpQhpQ2tAg7/loH1MUdbOE rj943cw4kucHSz/AOBMZVV1nOdqnSvuO7WnbTxjynxe4wDzI+66bg7pEtFfqXaO+ rMPGhp6kUl29j7SIQnGzNcZCOZ4Dm/MXW4BQygFYkVZUsz+AFkCR3AZocrkMMpD2 dXJfn9QHsVaN8t8crYGLI6ya9M+bXYb5yh9O2QEmmJrIHbSweHGeb/nwAs+BtMJH Gig3dsa7gH19pNYRBoKP =zddJ -----END PGP SIGNATURE-----