Skip to contentSkip to conversation

libxml-parser-perl: add expat/Makefile dependency

PATCH New Joe Slater 1 participant 1 message Nov 21, 2016

lore
Share & tools
lore

Joe Slater

author
#0 lore raw

PATCH 1/1 libxml-parser-perl: add expat/Makefile dependency

The file Expat.bs (which is empty!) is created by BOOTSTRAP, but is deleted by INST_DYNAMIC. Make sure we are not creating and deleting it at the same time.

---
 .../perl/libxml-parser-perl_2.44.bb                |    2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/perl/libxml-parser-perl_2.44.bb +2 -0
index 3acd826..ab9e5fa 100644
@@ -20,6 +20,8 @@ inherit cpan
 do_configure_append() {
 	sed 's:--sysroot=.*\(\s\|$\):--sysroot=${STAGING_DIR_TARGET} :g' -i Makefile Expat/Makefile
 	sed 's:^FULL_AR = .*:FULL_AR = ${AR}:g' -i Expat/Makefile
+	# make sure these two do not build in parallel
+	sed 's!^$(INST_DYNAMIC):!$(INST_DYNAMIC): $(BOOTSTRAP)!' -i Expat/Makefile
 }
 
 do_compile() {
Signature · 1 line
1.7.9.5