[Buildroot] [PATCH 1/3] perl-www-robotrules: fix dependencies

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Aug 25 18:50:50 UTC 2015


Dear Francois Perrad,

On Tue, 25 Aug 2015 20:38:32 +0200, Francois Perrad wrote:
> regenerated by support/scripts/scancpan
> 
> Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
> ---
>  package/perl-www-robotrules/Config.in              | 2 +-
>  package/perl-www-robotrules/perl-www-robotrules.mk | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/package/perl-www-robotrules/Config.in b/package/perl-www-robotrules/Config.in
> index 83dbcfb..e80f5a0 100644
> --- a/package/perl-www-robotrules/Config.in
> +++ b/package/perl-www-robotrules/Config.in
> @@ -1,6 +1,6 @@
>  config BR2_PACKAGE_PERL_WWW_ROBOTRULES
>  	bool "perl-www-robotrules"
> -	select PERL_URI
> +	select BR2_PACKAGE_PERL_URI

Indeed, good catch.

>  	help
>  	  This module provides functions that deal the date formats used by the
>  	  HTTP protocol (and then some more)
> diff --git a/package/perl-www-robotrules/perl-www-robotrules.mk b/package/perl-www-robotrules/perl-www-robotrules.mk
> index 0c68b98..e74baab 100644
> --- a/package/perl-www-robotrules/perl-www-robotrules.mk
> +++ b/package/perl-www-robotrules/perl-www-robotrules.mk
> @@ -7,7 +7,7 @@
>  PERL_WWW_ROBOTRULES_VERSION = 6.02
>  PERL_WWW_ROBOTRULES_SOURCE = WWW-RobotRules-$(PERL_WWW_ROBOTRULES_VERSION).tar.gz
>  PERL_WWW_ROBOTRULES_SITE = $(BR2_CPAN_MIRROR)/authors/id/G/GA/GAAS
> -PERL_WWW_ROBOTRULES_DEPENDENCIES = perl-uri
> +PERL_WWW_ROBOTRULES_DEPENDENCIES = perl perl-uri

Please don't include "perl" in the dependencies, and make the perl
package infrastructure automatically add it to all target perl
packages. I already asked this a while ago I believe.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list