diff options
| author | Patrick Williams <patrick@stwcx.xyz> | 2023-04-05 06:37:26 -0500 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2023-04-08 10:49:38 -0400 |
| commit | 9d819c1242b0d6b5c90f637b0dcf291cf45bce76 (patch) | |
| tree | d792276932461826b2608a9561db29afedfc8732 /recipes-perl | |
| parent | a149c85ce96d855a27b1acf1d517b546ecece1c3 (diff) | |
| download | meta-security-9d819c1242b0d6b5c90f637b0dcf291cf45bce76.tar.gz | |
libwhisker2-perl: adjust perl-version variable
The PERLVERSION likely has the wrong value in the native context
due to reasons discussed in openembedded-core[1]. The upstream
suggestion was to avoid use of PERLVERSION and switch to the direct
function.
1. https://lore.kernel.org/openembedded-core/20230405003850.384813-1-patrick@stwcx.xyz/T/#u
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-perl')
| -rw-r--r-- | recipes-perl/perl/libwhisker2-perl_2.5.bb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/recipes-perl/perl/libwhisker2-perl_2.5.bb b/recipes-perl/perl/libwhisker2-perl_2.5.bb index 42c0b42..c58d883 100644 --- a/recipes-perl/perl/libwhisker2-perl_2.5.bb +++ b/recipes-perl/perl/libwhisker2-perl_2.5.bb | |||
| @@ -19,9 +19,10 @@ PACKAGEGROUP ??="" | |||
| 19 | PACKAGEGROUP[ssl] = ", , libnet-ssleay-perl, libnet-ssleay-perl" | 19 | PACKAGEGROUP[ssl] = ", , libnet-ssleay-perl, libnet-ssleay-perl" |
| 20 | 20 | ||
| 21 | do_install() { | 21 | do_install() { |
| 22 | install -d 755 ${D}${PERLLIBDIRS}/vendor_perl/${PERLVERSION} | 22 | perl_version="${@get_perl_version(d)}" |
| 23 | install -d 755 ${D}${datadir}/perl/${PERLVERSION} | 23 | install -d 755 ${D}${PERLLIBDIRS}/vendor_perl/${perl_version} |
| 24 | oe_runmake install DESTDIR=${D} INSTALLDIR=${PERLLIBDIRS}/vendor_perl/${PERLVERSION} MANDIR=${datadir}/perl/${PERLVERSION} | 24 | install -d 755 ${D}${datadir}/perl/${perl_version} |
| 25 | oe_runmake install DESTDIR=${D} INSTALLDIR=${PERLLIBDIRS}/vendor_perl/${perl_version} MANDIR=${datadir}/perl/${perl_version} | ||
| 25 | } | 26 | } |
| 26 | 27 | ||
| 27 | FILES:${PN} += "${datadir}/perl" | 28 | FILES:${PN} += "${datadir}/perl" |
