In the dev-lang/php ebuilds, we currently have:

 DEPEND="... berkdb? ( =sys-libs/db-4* ) ..."

PHP will actually accept any 4.x or 5.x version of db; the ./configure
flag is poorly-named:

  https://bugs.gentoo.org/show_bug.cgi?id=521222

Now, we also get repoman warnings for not specifying a slot on that
dependency. But sys-libs/db has a bunch of 4.x and 5.x slots:

  * sys-libs/db
     Available versions:
     (1)    1.85-r3
     (3)    3.2.9_p2
     (4.2)  4.2.52_p5-r1
     (4.3)  4.3.29_p1-r1
     (4.4)  ~4.4.20_p4-r1
     (4.5)  4.5.20_p2-r1
     (4.6)  4.6.21_p4
     (4.7)  4.7.25_p4
     (4.8)  4.8.30-r1 4.8.30-r2
     (5.1)  ~5.1.29-r1
     (5.3)  ~5.3.28-r2
     (6.0)  ~6.0.30-r1 ~6.0.35
     (6.1)  [M]~6.1.26

Is there a way to say "give me any 4.x or 5.x slot"?

Reply via email to