Patchwork [meta-gnome] network-manager-applet: fix S!=B error

login
register
mail settings
Submitter Ash Charles
Date May 27, 2014, 4:56 p.m.
Message ID <1401209808-10467-1-git-send-email-ashcharles@gmail.com>
Download mbox | patch
Permalink /patch/72815/
State New, archived
Headers show

Comments

Ash Charles - May 27, 2014, 4:56 p.m.
The Makefile fixup in do_configure_append is in the build directory,
not the source directory.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
---
 .../network-manager-applet/network-manager-applet_0.9.8.0.bb           | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Patch

diff --git a/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_0.9.8.0.bb b/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_0.9.8.0.bb
index 6c00283..8dbb3dc 100644
--- a/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_0.9.8.0.bb
+++ b/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_0.9.8.0.bb
@@ -24,7 +24,7 @@  EXTRA_OECONF += " \
 do_configure_append() {
     rm config.log
     # Sigh... --enable-compile-warnings=no doesn't actually turn off -Werror
-    for i in $(find ${S} -name "Makefile") ; do
+    for i in $(find ${B} -name "Makefile") ; do
         sed -i -e s:-Werror::g $i
     done
 }
@@ -45,4 +45,3 @@  FILES_${PN} += "${libdir}/gnome-bluetooth/plugins/*.so"
 FILES_${PN}-dev += "${libdir}/gnome-bluetooth/plugins/libnma.la"
 FILES_${PN}-staticdev += "${libdir}/gnome-bluetooth/plugins/libnma.a"
 FILES_${PN}-dbg += "${libdir}/gnome-bluetooth/plugins/.debug/"
-