diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/perl/libxml-parser-perl_2.44.bb | 16 |
1 files changed, 15 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 c5e0ae6769..194ed6ac48 100644 --- a/meta/recipes-devtools/perl/libxml-parser-perl_2.44.bb +++ b/meta/recipes-devtools/perl/libxml-parser-perl_2.44.bb | |||
@@ -18,8 +18,22 @@ 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 |
21 | do_configure_append_class-target() { | ||
22 | sed -E \ | ||
23 | -e 's:-L${STAGING_LIBDIR}::g' -e 's:-I${STAGING_INCDIR}::g' \ | ||
24 | -e 's:LD_RUN_PATH ?= ?"?[^"]*"?::g' \ | ||
25 | -i Makefile Expat/Makefile | ||
26 | } | ||
27 | |||
28 | do_configure_append_class-nativesdk() { | ||
29 | sed -E \ | ||
30 | -e 's:LD_RUN_PATH ?= ?"?[^"]*"?::g' \ | ||
31 | -i Makefile Expat/Makefile | ||
32 | } | ||
33 | |||
21 | do_configure_append() { | 34 | do_configure_append() { |
22 | sed 's:--sysroot=.*\(\s\|$\):--sysroot=${STAGING_DIR_TARGET} :g' -i Makefile Expat/Makefile | 35 | sed -e 's:--sysroot=.*\(\s\|$\):--sysroot=${STAGING_DIR_TARGET} :g' \ |
36 | -i Makefile Expat/Makefile | ||
23 | sed 's:^FULL_AR = .*:FULL_AR = ${AR}:g' -i Expat/Makefile | 37 | sed 's:^FULL_AR = .*:FULL_AR = ${AR}:g' -i Expat/Makefile |
24 | # make sure these two do not build in parallel | 38 | # make sure these two do not build in parallel |
25 | sed 's!^$(INST_DYNAMIC):!$(INST_DYNAMIC): $(BOOTSTRAP)!' -i Expat/Makefile | 39 | sed 's!^$(INST_DYNAMIC):!$(INST_DYNAMIC): $(BOOTSTRAP)!' -i Expat/Makefile |