and RDEPEND on perl-native to avoid having to add it to every single
perl module recipe.
+#
+# This is for perl modules that use the old Makefile.PL build system
+#
FILES_${PN} += '${libdir}/perl5'
EXTRA_CPANFLAGS = ""
+DEPENDS += "perl-native"
+RDEPENDS += "perl"
+
cpan_do_configure () {
perl Makefile.PL ${EXTRA_CPANFLAGS}
if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then
+#
+# This is for perl modules that use the new Build.PL build system
+#
INHIBIT_NATIVE_STAGE_INSTALL = "1"
FILES_${PN} += '${libdir}/perl5'
+DEPENDS += "perl-native"
+RDEPENDS += "perl"
+
def is_crosscompiling(d):
import bb
if not bb.data.inherits_class('native', d):