dev-lang/perl: Fix ndbm inclusion
authorGwendal Grignou <gwendal@chromium.org>
Sat, 10 Dec 2016 06:55:44 +0000 (22:55 -0800)
committerKent Fredric <kentnl@gentoo.org>
Mon, 26 Dec 2016 15:52:18 +0000 (04:52 +1300)
commitf0ea8f639d34f881b8325dfa4b8c7d2d876915c4
tree3f09a8bbb84018b4f0dc563976f41c5ad500ea76
parent2c1ec464e1c6d2d13c63715a34f8e0401c73a4fd
dev-lang/perl: Fix ndbm inclusion

gdbm package provide gdbm and ndbm [aka libgdbm-compat] libraries, but
configures libgdbm-compat only if berkdb use flag is defined.
Therefore, we can use nbdm only if berkdb gdbm use flags are defined.

Without this change, perl compilation fails if gdbm is set but not berkdb.
I did not add a new ebuild to be able to see the difference.

Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
dev-lang/perl/perl-5.22.3_rc4.ebuild
dev-lang/perl/perl-5.24.0-r2.ebuild
dev-lang/perl/perl-5.24.1_rc4.ebuild