diff options
Diffstat (limited to 'meta/recipes-devtools/perl/libxml-parser-perl_2.44.bb')
-rw-r--r-- | meta/recipes-devtools/perl/libxml-parser-perl_2.44.bb | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/meta/recipes-devtools/perl/libxml-parser-perl_2.44.bb b/meta/recipes-devtools/perl/libxml-parser-perl_2.44.bb index cc3a660f7d..c5e0ae6769 100644 --- a/meta/recipes-devtools/perl/libxml-parser-perl_2.44.bb +++ b/meta/recipes-devtools/perl/libxml-parser-perl_2.44.bb | |||
@@ -14,7 +14,7 @@ S = "${WORKDIR}/XML-Parser-${PV}" | |||
14 | 14 | ||
15 | EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR} CC='${CC}' LD='${CCLD}' FULL_AR='${AR}'" | 15 | EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR} CC='${CC}' LD='${CCLD}' FULL_AR='${AR}'" |
16 | 16 | ||
17 | inherit cpan | 17 | inherit cpan ptest-perl |
18 | 18 | ||
19 | # fix up sub MakeMaker project as arguments don't get propagated though | 19 | # fix up sub MakeMaker project as arguments don't get propagated though |
20 | # see https://rt.cpan.org/Public/Bug/Display.html?id=28632 | 20 | # see https://rt.cpan.org/Public/Bug/Display.html?id=28632 |
@@ -34,4 +34,13 @@ do_compile_class-native() { | |||
34 | cpan_do_compile | 34 | cpan_do_compile |
35 | } | 35 | } |
36 | 36 | ||
37 | do_install_ptest() { | ||
38 | sed -i -e "s:/usr/local/bin/perl:/usr/bin/perl:g" ${B}/samples/xmlstats | ||
39 | sed -i -e "s:/usr/local/bin/perl:/usr/bin/perl:g" ${B}/samples/xmlfilter | ||
40 | sed -i -e "s:/usr/local/bin/perl:/usr/bin/perl:g" ${B}/samples/xmlcomments | ||
41 | sed -i -e "s:/usr/local/bin/perl:/usr/bin/perl:g" ${B}/samples/canonical | ||
42 | cp -r ${B}/samples ${D}${PTEST_PATH} | ||
43 | chown -R root:root ${D}${PTEST_PATH}/samples | ||
44 | } | ||
45 | |||
37 | BBCLASSEXTEND="native nativesdk" | 46 | BBCLASSEXTEND="native nativesdk" |