summaryrefslogtreecommitdiffstats
path: root/meta
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-10 16:55:54 +0100
commit88cf0b10d2e6c7f0cd08838ebe90ecdb95f31b2b (patch)
treec6fc280426794e85bd8b514400e26374cbcf3625 /meta
parentdee3eeb5d4e58b141ebb95595b72c66d8b04bcd3 (diff)
downloadopenembedded-core-88cf0b10d2e6c7f0cd08838ebe90ecdb95f31b2b.tar.gz
openembedded-core-88cf0b10d2e6c7f0cd08838ebe90ecdb95f31b2b.tar.bz2
openembedded-core-88cf0b10d2e6c7f0cd08838ebe90ecdb95f31b2b.zip
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 :) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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}"
inherit upstream-version-is-even
-DEPENDS += "gdbm zlib virtual/crypt"
+DEPENDS += "zlib virtual/crypt"
PERL_LIB_VER = "${@'.'.join(d.getVar('PV').split('.')[0:2])}.0"
-PACKAGECONFIG ??= "bdb"
+PACKAGECONFIG ??= "bdb gdbm"
PACKAGECONFIG[bdb] = ",-Ui_db,db"
+PACKAGECONFIG[gdbm] = ",-Ui_gdbm,gdbm"
# Don't generate comments in enc2xs output files. They are not reproducible
export ENC2XS_NO_COMMENTS = "1"