mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-11 15:00:34 +00:00
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>
This commit is contained in:
committed by
Armin Kuster
parent
a149c85ce9
commit
9d819c1242
@@ -19,9 +19,10 @@ PACKAGEGROUP ??=""
|
||||
PACKAGEGROUP[ssl] = ", , libnet-ssleay-perl, libnet-ssleay-perl"
|
||||
|
||||
do_install() {
|
||||
install -d 755 ${D}${PERLLIBDIRS}/vendor_perl/${PERLVERSION}
|
||||
install -d 755 ${D}${datadir}/perl/${PERLVERSION}
|
||||
oe_runmake install DESTDIR=${D} INSTALLDIR=${PERLLIBDIRS}/vendor_perl/${PERLVERSION} MANDIR=${datadir}/perl/${PERLVERSION}
|
||||
perl_version="${@get_perl_version(d)}"
|
||||
install -d 755 ${D}${PERLLIBDIRS}/vendor_perl/${perl_version}
|
||||
install -d 755 ${D}${datadir}/perl/${perl_version}
|
||||
oe_runmake install DESTDIR=${D} INSTALLDIR=${PERLLIBDIRS}/vendor_perl/${perl_version} MANDIR=${datadir}/perl/${perl_version}
|
||||
}
|
||||
|
||||
FILES:${PN} += "${datadir}/perl"
|
||||
|
||||
Reference in New Issue
Block a user