mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
cpan-base.bbclass: Improve RDEPENDS to be package specific
(From OE-Core rev: 3300d5fdcc60b14e184e0c6c40ba25d8c4d5ed46) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
FILES_${PN} += "${libdir}/perl ${datadir}/perl"
|
||||
|
||||
DEPENDS += "${@["perl", "perl-native"][(bb.data.inherits_class('native', d))]}"
|
||||
RDEPENDS += "${@["perl", ""][(bb.data.inherits_class('native', d))]}"
|
||||
RDEPENDS_${PN} += "${@["perl", ""][(bb.data.inherits_class('native', d))]}"
|
||||
|
||||
PERL_OWN_DIR = "${@["", "/perl-native"][(bb.data.inherits_class('native', d))]}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user