summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-11-26 14:20:22 +0100
committerKoen Kooi <koen@openembedded.org>2009-11-26 14:20:22 +0100
commit51f172ce530a7718c1cf628333ba0904120ea1e2 (patch)
tree604776c3b3b20eab9c1c35f1a1d43b24bcd88dde /classes
parent8af5e0ed1a7c79cd97ac5c58a7663c56b7f11621 (diff)
e17: bump SRCREV and start adapting it to new-style staging
Diffstat (limited to 'classes')
-rw-r--r--classes/efl.bbclass11
1 files changed, 7 insertions, 4 deletions
diff --git a/classes/efl.bbclass b/classes/efl.bbclass
index d4c3baa9cf..900d9c7f0d 100644
--- a/classes/efl.bbclass
+++ b/classes/efl.bbclass
@@ -11,16 +11,19 @@ PE = "2"
ARM_INSTRUCTION_SET = "arm"
-AUTOTOOLS_STAGE_PKGCONFIG = "1"
-# do NOT inherit pkgconfig here, see note in autotools_stage_all
inherit autotools
+# evas-native looks at this var, so keep it
+AUTOTOOLS_STAGE_PKGCONFIG = "1"
+
do_configure_prepend() {
touch config.rpath
}
-do_stage() {
- autotools_stage_all
+do_install_prepend () {
+ for i in `find ${S}/ -name "*.pc" -type f` ; do \
+ sed -i -e 's:-L${STAGING_LIBDIR}::g' -e 's:-I${STAGING_INCDIR}::g' $i
+ done
}
# This construction is stupid, someone with more E knowledge should change it to =+ or something