Patchwork perl-native: PROVIDE libmodule-build-perl-native for consistency with non-native perl

login
register
mail settings
Submitter Phil Blundell
Date Sept. 9, 2012, 9:13 a.m.
Message ID <1347181988.4396.256.camel@x121e.pbcl.net>
Download mbox | patch
Permalink /patch/36163/
State Accepted
Commit 2c3e8c5ab098f84c77729377afc240bc71d81665
Headers show

Comments

Phil Blundell - Sept. 9, 2012, 9:13 a.m.
This module is, apparently, included in the standard perl distribution
since 5.10.1 or so.  The regular perl recipe has had this PROVIDES for a
while but it seems to have been overlooked in the native version.

Signed-off-by: Phil Blundell <pb@pbcl.net>
---
 meta/recipes-devtools/perl/perl-native_5.14.2.bb |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
Saul Wold - Sept. 12, 2012, 4:46 p.m.
On 09/09/2012 02:13 AM, Phil Blundell wrote:
> This module is, apparently, included in the standard perl distribution
> since 5.10.1 or so.  The regular perl recipe has had this PROVIDES for a
> while but it seems to have been overlooked in the native version.
>
> Signed-off-by: Phil Blundell <pb@pbcl.net>
> ---
>   meta/recipes-devtools/perl/perl-native_5.14.2.bb |    3 +++
>   1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/meta/recipes-devtools/perl/perl-native_5.14.2.bb b/meta/recipes-devtools/perl/perl-native_5.14.2.bb
> index df8f058..9f6a077 100644
> --- a/meta/recipes-devtools/perl/perl-native_5.14.2.bb
> +++ b/meta/recipes-devtools/perl/perl-native_5.14.2.bb
> @@ -9,6 +9,9 @@ PR = "r1"
>   LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
>                       file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8"
>
> +# 5.10.1 has Module::Build built-in
> +PROVIDES += "libmodule-build-perl-native"
> +
>   SRC_URI = "http://www.cpan.org/src/5.0/perl-${PV}.tar.gz \
>              file://Configure-multilib.patch \
>              file://perl-configpm-switch.patch \
>

This along with the 2 shadow patches were merged into OE-Core

Thanks
	Sau!

Patch

diff --git a/meta/recipes-devtools/perl/perl-native_5.14.2.bb b/meta/recipes-devtools/perl/perl-native_5.14.2.bb
index df8f058..9f6a077 100644
--- a/meta/recipes-devtools/perl/perl-native_5.14.2.bb
+++ b/meta/recipes-devtools/perl/perl-native_5.14.2.bb
@@ -9,6 +9,9 @@  PR = "r1"
 LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
                     file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8"
 
+# 5.10.1 has Module::Build built-in
+PROVIDES += "libmodule-build-perl-native"
+
 SRC_URI = "http://www.cpan.org/src/5.0/perl-${PV}.tar.gz \
            file://Configure-multilib.patch \
            file://perl-configpm-switch.patch \