]> git.openpandora.org Git - openembedded.git/commitdiff
efl, e-wm: add a quick sed fix for e builds using system include paths
authorJustin Patrin <papercrane@gmail.com>
Wed, 5 Oct 2005 23:25:49 +0000 (23:25 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Wed, 5 Oct 2005 23:25:49 +0000 (23:25 +0000)
- This is not likely to affect anyone except 64-bit linux users who have multiple files files
-- This definately affects Gentoo linux on amd64. It has a stub header which includes a 386 or x86_64 depending on defines. However, since OE normally compiles for non-x86 this header actually includes nothing and stops the compile altogether due to missing typedefs and prototypes.

classes/efl.bbclass
packages/e17/e-wm_0.16.999.015.bb

index 16c2dba0b87f4162b5dcbfe9f8636afd2fe28272..964748e85ccaa45e9e1d5b6ac4308a5d4de3cc5a 100644 (file)
@@ -38,6 +38,10 @@ export ESMART_CONFIG         = "${STAGING_BINDIR}/esmart-config${@binconfig_suffix(d)}"
 export FREETYPE_CONFIG         = "${STAGING_BINDIR}/freetype-config${@binconfig_suffix(d)}"
 export IMLIB2_CONFIG           = "${STAGING_BINDIR}/imlib2-config${@binconfig_suffix(d)}"
 
+do_compile_prepend() {
+       find ${S} -name Makefile | xargs sed -i 's:/usr/include:${STAGING_INCDIR}:'
+}
+
 do_stage_append () {
        for i in ${libraries}
        do
index 7c3aceb5368e1a4258e8fa8f9f0852f8d59a5b01..7a7291a156cfef38b18b41651324f2e0fe4ce9c8 100644 (file)
@@ -35,6 +35,7 @@ EXTRA_OECONF = "--with-profile=${PROFILE} \
 FILES_${PN} = "${bindir}/* ${libdir}/* ${datadir} ${sysconfdir}"
 
 do_compile_prepend() {
+        find ${S} -name Makefile | xargs sed -i 's:/usr/include:${STAGING_INCDIR}:'
        mv "${WORKDIR}/themes/default_entry.edc" "${S}/data/themes/"
        mv "${WORKDIR}/themes/images/focus.png" "${S}/data/themes/images/"
        mv "${WORKDIR}/themes/images/entry.png" "${S}/data/themes/images/"