Patchwork libnotify: Fix separate build dir support

login
register
mail settings
Submitter Richard Purdie
Date Feb. 27, 2014, 6:04 p.m.
Message ID <1393524255.31769.151.camel@ted>
Download mbox | patch
Permalink /patch/67625/
State New
Headers show

Comments

Richard Purdie - Feb. 27, 2014, 6:04 p.m.
Fix ${B} != ${S} support for libnotify.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Patch

diff --git a/meta/recipes-gnome/libnotify/libnotify_0.6.0.bb b/meta/recipes-gnome/libnotify/libnotify_0.6.0.bb
index 61ae5e6..dd3ff31 100644
--- a/meta/recipes-gnome/libnotify/libnotify_0.6.0.bb
+++ b/meta/recipes-gnome/libnotify/libnotify_0.6.0.bb
@@ -12,6 +12,6 @@  SRC_URI[archive.md5sum] = "732c9d2cd5eb6a9069264a319d330516"
 SRC_URI[archive.sha256sum] = "73b16a79bb2fed62dcf146b11c4405776cb96a09dce66379ca541da7dbd64210"
 
 do_configure_prepend() {
-    sed -i /GTK3/d configure.ac
-    sed -i -e /test-gtk3/d -e 's/test-xy-stress \\/test-xy-stress/' tests/Makefile.am
+    sed -i /GTK3/d ${S}/configure.ac
+    sed -i -e /test-gtk3/d -e 's/test-xy-stress \\/test-xy-stress/' ${S}/tests/Makefile.am
 }