perl 5.10.1 has Module::Build built-in and it's newer than what we have in
libmodule-build-perl-native.
Signed-off-by: Roman I Khimov <khimov@altell.ru>
SECTION = "libs"
LICENSE = "Artistic|GPL"
DEPENDS = "virtual/db-native gdbm-native"
-PR = "r4"
+PR = "r5"
NATIVE_INSTALL_WORKS = "1"
# Not tested enough
DEFAULT_PREFERENCE = "-1"
+# 5.10.1 has this module built-in
+PROVIDES += "libmodule-build-perl-native"
+RPROVIDES_${PN} += "libmodule-build-perl-native"
+
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/perl-${PV}"
SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz;name=perl-${PV} \
--- /dev/null
+RPROVIDES_perl-module-module-build += "libmodule-build-perl"
PRIORITY = "optional"
# We need gnugrep (for -I)
DEPENDS = "virtual/db perl-native grep-native"
-PR = "r12"
+PR = "r13"
+
+# 5.10.1 has Module::Build built-in
+PROVIDES += "libmodule-build-perl"
# Not tested enough
DEFAULT_PREFERENCE = "-1"
require perl-rdepends_${PV}.inc
require perl-rprovides.inc
+require perl-rprovides_${PV}.inc
PARALLEL_MAKE = ""