diff options
Diffstat (limited to 'meta/recipes-devtools/perl/perl_5.30.0.bb')
-rw-r--r-- | meta/recipes-devtools/perl/perl_5.30.0.bb | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.30.0.bb b/meta/recipes-devtools/perl/perl_5.30.0.bb index ce280cb1cb..a221bce52b 100644 --- a/meta/recipes-devtools/perl/perl_5.30.0.bb +++ b/meta/recipes-devtools/perl/perl_5.30.0.bb | |||
@@ -35,10 +35,13 @@ S = "${WORKDIR}/perl-${PV}" | |||
35 | 35 | ||
36 | inherit upstream-version-is-even | 36 | inherit upstream-version-is-even |
37 | 37 | ||
38 | DEPENDS += "db gdbm zlib virtual/crypt" | 38 | DEPENDS += "gdbm 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" | ||
43 | PACKAGECONFIG[bdb] = ",-Ui_db,db" | ||
44 | |||
42 | # Don't generate comments in enc2xs output files. They are not reproducible | 45 | # Don't generate comments in enc2xs output files. They are not reproducible |
43 | export ENC2XS_NO_COMMENTS = "1" | 46 | export ENC2XS_NO_COMMENTS = "1" |
44 | 47 | ||
@@ -56,7 +59,8 @@ do_configure_class-target() { | |||
56 | -Duseshrplib \ | 59 | -Duseshrplib \ |
57 | -Dsoname=libperl.so.5 \ | 60 | -Dsoname=libperl.so.5 \ |
58 | -Dvendorprefix=${prefix} \ | 61 | -Dvendorprefix=${prefix} \ |
59 | -Darchlibexp=${STAGING_LIBDIR}/perl5/${PV}/${TARGET_ARCH}-linux | 62 | -Darchlibexp=${STAGING_LIBDIR}/perl5/${PV}/${TARGET_ARCH}-linux \ |
63 | ${PACKAGECONFIG_CONFARGS} | ||
60 | 64 | ||
61 | #perl.c uses an ARCHLIB_EXP define to generate compile-time code that | 65 | #perl.c uses an ARCHLIB_EXP define to generate compile-time code that |
62 | #adds the archlibexp path to @INC during run-time initialization of a | 66 | #adds the archlibexp path to @INC during run-time initialization of a |
@@ -79,7 +83,8 @@ do_configure_class-nativesdk() { | |||
79 | -Duseshrplib \ | 83 | -Duseshrplib \ |
80 | -Dsoname=libperl.so.5 \ | 84 | -Dsoname=libperl.so.5 \ |
81 | -Dvendorprefix=${prefix} \ | 85 | -Dvendorprefix=${prefix} \ |
82 | -Darchlibexp=${STAGING_LIBDIR}/perl5/${PV}/${TARGET_ARCH}-linux | 86 | -Darchlibexp=${STAGING_LIBDIR}/perl5/${PV}/${TARGET_ARCH}-linux \ |
87 | ${PACKAGECONFIG_CONFARGS} | ||
83 | 88 | ||
84 | # See the comment above | 89 | # See the comment above |
85 | sed -i -e "s,${STAGING_LIBDIR},${libdir},g" config.h | 90 | sed -i -e "s,${STAGING_LIBDIR},${libdir},g" config.h |
@@ -91,7 +96,8 @@ do_configure_class-native() { | |||
91 | -Duseshrplib \ | 96 | -Duseshrplib \ |
92 | -Dsoname=libperl.so.5 \ | 97 | -Dsoname=libperl.so.5 \ |
93 | -Dvendorprefix=${prefix} \ | 98 | -Dvendorprefix=${prefix} \ |
94 | -Ui_xlocale | 99 | -Ui_xlocale \ |
100 | ${PACKAGECONFIG_CONFARGS} | ||
95 | } | 101 | } |
96 | 102 | ||
97 | do_configure_append() { | 103 | do_configure_append() { |