[oe-commits] Richard Purdie : dpkg: Fix case where ${B} != ${S}

git at git.openembedded.org git at git.openembedded.org
Thu Mar 21 23:50:23 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: 04515f61e2768435126f0c8ccfb5ad1e368710ee
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=04515f61e2768435126f0c8ccfb5ad1e368710ee

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Thu Mar 21 14:21:50 2013 +0000

dpkg: Fix case where ${B} != ${S}

Add missing path component to make out of tree builds work.

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

---

 meta/recipes-devtools/dpkg/dpkg.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc
index cdecd19..6bb1e16 100644
--- a/meta/recipes-devtools/dpkg/dpkg.inc
+++ b/meta/recipes-devtools/dpkg/dpkg.inc
@@ -30,7 +30,7 @@ EXTRA_OECONF = "--without-static-progs \
 		--without-sgml-doc"
 
 do_configure () {
-    echo >> m4/compiler.m4
+    echo >> ${S}/m4/compiler.m4
     sed -i -e 's#PERL_LIBDIR=.*$#PERL_LIBDIR="${libdir}/perl"#' ${S}/configure
     autotools_do_configure
 }





More information about the Openembedded-commits mailing list