diff options
author | Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | 2016-03-09 18:39:50 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-10 23:06:16 +0000 |
commit | 52b02df67e93722e29a2b3e9a90cd49c38952024 (patch) | |
tree | a2b5b534035f1ece9c8872e8d3b146b60004df49 /meta/recipes-devtools | |
parent | 1a9efb0be07c62b7780da68dc19c834ade1cb533 (diff) | |
download | openembedded-core-52b02df67e93722e29a2b3e9a90cd49c38952024.tar.gz openembedded-core-52b02df67e93722e29a2b3e9a90cd49c38952024.tar.bz2 openembedded-core-52b02df67e93722e29a2b3e9a90cd49c38952024.zip |
perl-rdepends: Remove circular dependencies
Packages should not depend on themselves, otherwise it could lead to
circular dependencies on the package manager.
I have added a line on the proposed bash script that should add this
check on future versions.
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/perl/perl-rdepends_5.22.1.inc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/meta/recipes-devtools/perl/perl-rdepends_5.22.1.inc b/meta/recipes-devtools/perl/perl-rdepends_5.22.1.inc index 7f886f34ab..033d4e3546 100644 --- a/meta/recipes-devtools/perl/perl-rdepends_5.22.1.inc +++ b/meta/recipes-devtools/perl/perl-rdepends_5.22.1.inc @@ -7,6 +7,7 @@ #2 find . -name \*.pm | xargs sed -i '/^=head/,/^=cut/d' #3 egrep -r "^\s*(\<use .*|\<require .*);?" perl-module-* --include="*.pm" #| sed "s/\/.*\.pm: */ += /g;s/[\"\']//g;s/;.*/\"/g;s/+= .*\(require\|use\)\> */+= \"perl-module-/g;s/CPANPLUS::.*/cpanplus/g;s/CPAN::.*/cpan/g;s/::/-/g;s/ [^+\"].*//g;s/_/-/g;s/\.pl\"$/\"/;s/\"\?\$/\"/;s/(//;" | tr [:upper:] [:lower:] +#| awk '{if ($3 != "\x22"$1"\x22"){ print $0}}' #| grep -v -e "\-vms\-" -e module-5 -e "^$" -e "\\$" -e your -e tk -e autoperl -e html -e http -e parse-cpan -e perl-ostype -e ndbm-file -e module-mac -e fcgi -e lwp -e dbd -e dbix #| sort -u #| sed 's/^/RDEPENDS_/;s/perl-module-/${PN}-module-/g;s/module-\(module-\)/\1/g;s/\(module-load\)-conditional/\1/g;s/encode-configlocal/&-pm/;' @@ -275,7 +276,6 @@ RDEPENDS_${PN}-module-constant += "${PN}-module-carp" RDEPENDS_${PN}-module-constant += "${PN}-module-strict" RDEPENDS_${PN}-module-constant += "${PN}-module-warnings-register" RDEPENDS_${PN}-module-corelist += "${PN}-module-list-util" -RDEPENDS_${PN}-module-corelist += "${PN}-module-corelist" RDEPENDS_${PN}-module-corelist += "${PN}-module-strict" RDEPENDS_${PN}-module-corelist += "${PN}-module-vars" RDEPENDS_${PN}-module-corelist += "${PN}-module-version" @@ -283,7 +283,6 @@ RDEPENDS_${PN}-module-corelist += "${PN}-module-warnings" RDEPENDS_${PN}-module-cpan += "${PN}-module-b" RDEPENDS_${PN}-module-cpan += "${PN}-module-carp" RDEPENDS_${PN}-module-cpan += "${PN}-module-config" -RDEPENDS_${PN}-module-cpan += "${PN}-module-cpan" RDEPENDS_${PN}-module-cpan += "${PN}-module-cwd" RDEPENDS_${PN}-module-cpan += "${PN}-module-data-dumper" RDEPENDS_${PN}-module-cpan += "${PN}-module-dirhandle" @@ -885,7 +884,6 @@ RDEPENDS_${PN}-module-fatal += "${PN}-module-autodie-scopeutil" RDEPENDS_${PN}-module-fatal += "${PN}-module-carp" RDEPENDS_${PN}-module-fatal += "${PN}-module-config" RDEPENDS_${PN}-module-fatal += "${PN}-module-constant" -RDEPENDS_${PN}-module-fatal += "${PN}-module-fatal" RDEPENDS_${PN}-module-fatal += "${PN}-module-fcntl" RDEPENDS_${PN}-module-fatal += "${PN}-module-posix" RDEPENDS_${PN}-module-fatal += "${PN}-module-scalar-util" @@ -1079,7 +1077,6 @@ RDEPENDS_${PN}-module-i18n-langtags-detect += "${PN}-module-vars" RDEPENDS_${PN}-module-i18n-langtags-list += "${PN}-module-strict" RDEPENDS_${PN}-module-i18n-langtags-list += "${PN}-module-vars" RDEPENDS_${PN}-module-i18n-langtags += "${PN}-module-exporter" -RDEPENDS_${PN}-module-i18n-langtags += "${PN}-module-i18n-langtags" RDEPENDS_${PN}-module-i18n-langtags += "${PN}-module-strict" RDEPENDS_${PN}-module-i18n-langtags += "${PN}-module-vars" RDEPENDS_${PN}-module-io-compress-adapter-bzip2 += "${PN}-module-bytes" @@ -1428,7 +1425,6 @@ RDEPENDS_${PN}-module-load += "${PN}-module-filehandle" RDEPENDS_${PN}-module-load += "${PN}-module-file-spec" RDEPENDS_${PN}-module-load += "${PN}-module-locale-maketext-simple" RDEPENDS_${PN}-module-load += "${PN}-module-corelist" -RDEPENDS_${PN}-module-load += "${PN}-module-load" RDEPENDS_${PN}-module-load += "${PN}-module-params-check" RDEPENDS_${PN}-module-load += "${PN}-module-strict" RDEPENDS_${PN}-module-load += "${PN}-module-vars" @@ -2353,7 +2349,6 @@ RDEPENDS_${PN}-module-test-harness += "${PN}-module-warnings" RDEPENDS_${PN}-module-test-more += "${PN}-module-scalar-util" RDEPENDS_${PN}-module-test-more += "${PN}-module-strict" RDEPENDS_${PN}-module-test-more += "${PN}-module-test-builder-module" -RDEPENDS_${PN}-module-test-more += "${PN}-module-test-more" RDEPENDS_${PN}-module-test-more += "${PN}-module-warnings" RDEPENDS_${PN}-module-test += "${PN}-module-carp" RDEPENDS_${PN}-module-test += "${PN}-module-exporter" |