[oe-commits] Koen Kooi : firefox 3.5.4: fixup .pc files

git version control git at git.openembedded.org
Tue Nov 3 11:45:03 UTC 2009


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

Author: Koen Kooi <koen at openembedded.org>
Date:   Mon Nov  2 12:13:55 2009 +0100

firefox 3.5.4: fixup .pc files

---

 recipes/mozilla/firefox_3.5.4.bb |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/recipes/mozilla/firefox_3.5.4.bb b/recipes/mozilla/firefox_3.5.4.bb
index ea524d1..48e2709 100644
--- a/recipes/mozilla/firefox_3.5.4.bb
+++ b/recipes/mozilla/firefox_3.5.4.bb
@@ -1,5 +1,7 @@
 DEPENDS += "cairo"
 
+PR = "r1"
+
 SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/source/firefox-${PV}.source.tar.bz2 \
 	file://jsautocfg.h \
 	file://security-cross.patch;patch=1 \
@@ -61,6 +63,10 @@ do_stage() {
                 install -D -m 0644 $f ${STAGING_INCDIR}/firefox-${PV}/
         done
 
+        for pc in ${WORKDIR}/*.pc ; do
+            sed -i s:3.5.2:${PV}:g $pc
+        done
+        
         install -d ${PKG_CONFIG_DIR}
         install -m 0644 ${WORKDIR}/firefox-plugin.pc ${PKG_CONFIG_DIR}
         install -m 0644 ${WORKDIR}/firefox-xpcom.pc ${PKG_CONFIG_DIR}





More information about the Openembedded-commits mailing list