summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2019-10-10 13:18:40 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-10-15 14:16:10 +0100
commita4b2958adab161c07f4144e6e046ef9a02f2f30e (patch)
treedf1e3798f762228121065524dff3161296ab5917 /meta/recipes-devtools/perl
parentc9aa4b061f015fce9e2775d417cf7d0881a8a6ca (diff)
downloadpoky-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/perl')
-rw-r--r--meta/recipes-devtools/perl/perl_5.30.0.bb5
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
36inherit upstream-version-is-even 36inherit upstream-version-is-even
37 37
38DEPENDS += "gdbm zlib virtual/crypt" 38DEPENDS += "zlib virtual/crypt"
39 39
40PERL_LIB_VER = "${@'.'.join(d.getVar('PV').split('.')[0:2])}.0" 40PERL_LIB_VER = "${@'.'.join(d.getVar('PV').split('.')[0:2])}.0"
41 41
42PACKAGECONFIG ??= "bdb" 42PACKAGECONFIG ??= "bdb gdbm"
43PACKAGECONFIG[bdb] = ",-Ui_db,db" 43PACKAGECONFIG[bdb] = ",-Ui_db,db"
44PACKAGECONFIG[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
46export ENC2XS_NO_COMMENTS = "1" 47export ENC2XS_NO_COMMENTS = "1"