[oe-commits] Koen Kooi : e*bbclass: run autopoint in configure

git version control git at git.openembedded.org
Mon Feb 15 15:31:02 UTC 2010


Module: openembedded.git
Branch: shr/unstable
Commit: feb019622e464739efe440ecabc2f9e5b5477682
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=feb019622e464739efe440ecabc2f9e5b5477682

Author: Koen Kooi <koen at openembedded.org>
Date:   Mon Feb 15 11:16:40 2010 +0100

e*bbclass: run autopoint in configure

* remove config.rpath stuff from recipes

---

 classes/e.bbclass         |    8 ++++++--
 classes/efl.bbclass       |    2 +-
 recipes/e17/e-module.inc  |    1 -
 recipes/e17/places_svn.bb |    1 -
 4 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/classes/e.bbclass b/classes/e.bbclass
index fca9aa0..5db0749 100644
--- a/classes/e.bbclass
+++ b/classes/e.bbclass
@@ -10,12 +10,16 @@ ARM_INSTRUCTION_SET = "arm"
 inherit autotools pkgconfig binconfig
 
 do_prepsources () {
-  make clean distclean || true
+	make clean distclean || true
 }
 addtask prepsources after do_patch before do_configure
 
+do_configure_prepend() {
+	autopoint || touch config.rpath
+}
+
 do_configure_append() {
-        find ${S} -name Makefile | xargs sed -i s:'-I$(includedir)':'-I.':g
+	find ${S} -name Makefile | xargs sed -i s:'-I$(includedir)':'-I.':g
 }
 
 export CURL_CONFIG = "${STAGING_BINDIR_CROSS}/curl-config"
diff --git a/classes/efl.bbclass b/classes/efl.bbclass
index 805422f..1433457 100644
--- a/classes/efl.bbclass
+++ b/classes/efl.bbclass
@@ -17,7 +17,7 @@ inherit autotools
 AUTOTOOLS_STAGE_PKGCONFIG = "1"
 
 do_configure_prepend() {
-	touch config.rpath
+	autopoint || touch config.rpath
 }
 
 do_install_prepend () {
diff --git a/recipes/e17/e-module.inc b/recipes/e17/e-module.inc
index d275b0a..a620746 100644
--- a/recipes/e17/e-module.inc
+++ b/recipes/e17/e-module.inc
@@ -13,4 +13,3 @@ EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc"
 FILES_${PN} += "${libdir}/enlightenment/modules/${PN}"
 FILES_${PN}-dbg += "${libdir}/enlightenment/modules/${PN}/*/.debug"
 
-
diff --git a/recipes/e17/places_svn.bb b/recipes/e17/places_svn.bb
index bcaf144..13ef860 100644
--- a/recipes/e17/places_svn.bb
+++ b/recipes/e17/places_svn.bb
@@ -10,7 +10,6 @@ SRC_URI += "file://fix-api.diff;patch=1;maxrev=39830;pnum=3"
 do_configure_prepend() {
        sed -i -e /po/d -e /AM_GNU_GETTEXT/d configure.ac 
        sed -i -e s:\ po::g Makefile.am
-       touch ${S}/config.rpath
 }
 
 # Calls /usr/bin/eject for media





More information about the Openembedded-commits mailing list