diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2019-10-10 13:18:40 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-10-15 14:16:10 +0100 |
commit | a4b2958adab161c07f4144e6e046ef9a02f2f30e (patch) | |
tree | df1e3798f762228121065524dff3161296ab5917 /meta/recipes-devtools | |
parent | c9aa4b061f015fce9e2775d417cf7d0881a8a6ca (diff) | |
download | poky-a4b2958adab161c07f4144e6e046ef9a02f2f30e.tar.gz |
perl: make gdbm optional
Recent versions of gdbm are gplv3, so in some scenarios
it is beneficial to not depend on it.
(thanks Ross for leading the way with the db option :)
(From OE-Core rev: 88cf0b10d2e6c7f0cd08838ebe90ecdb95f31b2b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/perl/perl_5.30.0.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.30.0.bb b/meta/recipes-devtools/perl/perl_5.30.0.bb index ba2a8437d4..1d906a7515 100644 --- a/meta/recipes-devtools/perl/perl_5.30.0.bb +++ b/meta/recipes-devtools/perl/perl_5.30.0.bb | |||
@@ -35,12 +35,13 @@ S = "${WORKDIR}/perl-${PV}" | |||
35 | 35 | ||
36 | inherit upstream-version-is-even | 36 | inherit upstream-version-is-even |
37 | 37 | ||
38 | DEPENDS += "gdbm zlib virtual/crypt" | 38 | DEPENDS += "zlib virtual/crypt" |
39 | 39 | ||
40 | PERL_LIB_VER = "${@'.'.join(d.getVar('PV').split('.')[0:2])}.0" | 40 | PERL_LIB_VER = "${@'.'.join(d.getVar('PV').split('.')[0:2])}.0" |
41 | 41 | ||
42 | PACKAGECONFIG ??= "bdb" | 42 | PACKAGECONFIG ??= "bdb gdbm" |
43 | PACKAGECONFIG[bdb] = ",-Ui_db,db" | 43 | PACKAGECONFIG[bdb] = ",-Ui_db,db" |
44 | PACKAGECONFIG[gdbm] = ",-Ui_gdbm,gdbm" | ||
44 | 45 | ||
45 | # Don't generate comments in enc2xs output files. They are not reproducible | 46 | # Don't generate comments in enc2xs output files. They are not reproducible |
46 | export ENC2XS_NO_COMMENTS = "1" | 47 | export ENC2XS_NO_COMMENTS = "1" |