Skip to contentSkip to conversation

perl: apply a native-only patch only to -native

PATCH New Alexander Kanavin 1 participant 1 message Feb 28, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perl: apply a native-only patch only to -native

Otherwise some of ptests were failing on target:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=13194

[YOCTO #13194]

---
 meta/recipes-devtools/perl-sanity/perl_5.28.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-devtools/perl-sanity/perl_5.28.1.bb +3 -1
index 1cc5480d68f..5aa7cd3ee16 100644
@@ -13,13 +13,15 @@ SRC_URI = "https://www.cpan.org/src/5.0/perl-${PV}.tar.gz;name=perl \
            file://0001-configure_tool.sh-do-not-quote-the-argument-to-comma.patch \
            file://0001-ExtUtils-MakeMaker-add-LDFLAGS-when-linking-binary-m.patch \
            file://0001-Somehow-this-module-breaks-through-the-perl-wrapper-.patch \
-           file://perl-configpm-switch.patch \
            file://errno_ver.diff \
            file://native-perlinc.patch \
            file://0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch \
            file://perl-dynloader.patch \
            file://0001-configure_path.sh-do-not-hardcode-prefix-lib-as-libr.patch \
            "
+SRC_URI_append_class-native = " \
+           file://perl-configpm-switch.patch \
+"
 
 SRC_URI[perl.md5sum] = "838198c43d4f39d7af797e2f59c2bee5"
 SRC_URI[perl.sha256sum] = "3ebf85fe65df2ee165b22596540b7d5d42f84d4b72d84834f74e2e0b8956c347"
Signature · 1 line
2.17.1