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. 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.
Cheers, Tiziano -- Tiziano Müller Gentoo Linux Developer Areas of responsibility: Samba, PostgreSQL, CPP, Python, sysadmin, GLEP Editor E-Mail : dev-z...@gentoo.org GnuPG FP : F327 283A E769 2E36 18D5 4DE2 1B05 6A63 AE9C 1E30
smime.p7s
Description: S/MIME cryptographic signature