Skip to contentSkip to conversation

libnice: create ${S}/m4 directory before gtkdocize is called

PATCH New Martin Jansa 1 participant 1 message Jul 15, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libnice: create ${S}/m4 directory before gtkdocize is called

* otherwise it fails with:
+ gtkdocize --docdir /OE/build/shr-core/tmp-eglibc/work/core2-64-oe-linux/libnice/0.0.13-r4/libnice-0.0.13
ln: target 'm4/' is not a directory: No such file or directory
cp: cannot create regular file 'm4/': Not a directory

---
 meta-oe/recipes-support/farsight/libnice_0.0.13.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-oe/recipes-support/farsight/libnice_0.0.13.bb +4 -0
index 2d7cff3..711b6bd 100644
@@ -23,6 +23,10 @@ FILES_${PN}-dev += "${libdir}/gstreamer-0.10/*.la"
 FILES_${PN}-staticdev += "${libdir}/gstreamer-0.10/*.a"
 FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug"
 
+do_configure_prepend() {
+    mkdir ${S}/m4 || true
+}
+
 do_compile_append() {
     for i in $(find ${S} -name "*.pc") ; do
         sed -i -e s:${STAGING_DIR_TARGET}::g \
Signature · 1 line
2.0.0