perl: avoid using += with an over-ride
PATCH 1/1 perl: avoid using += with an over-ride
Using += with an over-ride can be a source of confusion so try to avoid the construct in core recipes.
Signed-off-by Andre McCurdy <[email protected]>
--- meta/recipes-devtools/perl/perl-native_5.24.4.bb | 2 +- meta/recipes-devtools/perl/perl_5.24.4.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/perl/perl-native_5.24.4.bb +1 -1
@@ -135,5 +135,5 @@ EOF # Fix the path in sstate SSTATE_SCAN_FILES += "*.pm *.pod *.h *.pl *.sh" -PACKAGES_DYNAMIC_class-native += "^perl-module-.*native$" +PACKAGES_DYNAMIC_class-native = "^perl-module-.*native$"
meta/recipes-devtools/perl/perl_5.24.4.bb +1 -1
@@ -339,7 +339,7 @@ python split_perl_packages () { } PACKAGES_DYNAMIC += "^perl-module-.*(?<!\-native)$" -PACKAGES_DYNAMIC_class-nativesdk += "^nativesdk-perl-module-.*" +PACKAGES_DYNAMIC_class-nativesdk = "^nativesdk-perl-module-.*" RPROVIDES_perl-lib = "perl-lib"
Signature · 1 line
1.9.1