Patchwork Signed-off-by: Patrik Dahlström <patda293@student.liu.se>

login
register
mail settings
Submitter Patrik Dahlström
Date April 15, 2011, 3:58 p.m.
Message ID <1302883083-23485-1-git-send-email-patda293@student.liu.se>
Download mbox | patch
Permalink /patch/2281/
State Superseded
Headers show

Comments

Patrik Dahlström - April 15, 2011, 3:58 p.m.
firefox: Manually added libIDL-2.0 CFLAGS and LIBS to
mozilla-1.9.2/config/autoconf.mk.in for firefox-3.6.8
---
 recipes/mozilla/firefox_3.6.8.bb |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

Patch

diff --git a/recipes/mozilla/firefox_3.6.8.bb b/recipes/mozilla/firefox_3.6.8.bb
index 04dde08..828822c 100644
--- a/recipes/mozilla/firefox_3.6.8.bb
+++ b/recipes/mozilla/firefox_3.6.8.bb
@@ -28,6 +28,7 @@  SRC_URI[archive.md5sum] = "0ee5f14fd8be07513d16131027ebcb61"
 SRC_URI[archive.sha256sum] = "fc609cc6a0ddaa2a9ebd8511ec39ae4a404e1107a12e07b233e2afca51d9a10e"
 
 S = "${WORKDIR}/mozilla-1.9.2"
+export PKG_CONFIG=${STAGING_BINDIR_NATIVE}/pkg-config
 
 inherit mozilla
 require firefox.inc
@@ -37,7 +38,9 @@  EXTRA_OECONF += " --enable-official-branding --disable-crashreporter"
 FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2"
 
 do_compile_prepend() {
-	cp ${WORKDIR}/jsautocfg.h ${S}/js/src/
-	sed -i "s|CPU_ARCH =|CPU_ARCH = ${TARGET_ARCH}|" security/coreconf/Linux.mk
+    cp ${WORKDIR}/jsautocfg.h ${S}/js/src/
+    sed -i "s|CPU_ARCH =|CPU_ARCH = ${TARGET_ARCH}|" security/coreconf/Linux.mk
+    sed -i "s|HOST_LIBIDL_CFLAGS = \@HOST_LIBIDL_CFLAGS\@|HOST_LIBIDL_CFLAGS = $(pkg-config --cflags libIDL-2.0)|" config/autoconf.mk.in
+    sed -i "s|HOST_LIBIDL_LIBS   = @HOST_LIBIDL_LIBS@|HOST_LIBIDL_LIBS = $(pkg-config --libs libIDL-2.0)|" config/autoconf.mk.in
 }