summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/mozilla/firefox_3.0.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/mozilla/firefox_3.0.bb b/packages/mozilla/firefox_3.0.bb
index 5e693a1692..ab10c96bc8 100644
--- a/packages/mozilla/firefox_3.0.bb
+++ b/packages/mozilla/firefox_3.0.bb
@@ -10,6 +10,7 @@ SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/3.0/source/fi
file://Bug405992.atomic.nspr.diff;patch=1 \
file://random_to_urandom.diff;patch=1 \
file://jemalloc-tls.patch;patch=1 \
+ http://ftp.mozilla.org/pub/mozilla.org/js/js-1.7.0.tar.gz \
"
S = "${WORKDIR}/mozilla"
@@ -19,6 +20,10 @@ S = "${WORKDIR}/mozilla"
inherit mozilla
require firefox.inc
+do_unpack2() {
+ cp -pPr ${WORKDIR}/js/src* ${S}/js/
+}
+
do_compile_prepend() {
cp ${WORKDIR}/jsautocfg.h ${S}/js/src/
sed -i "s|CPU_ARCH =|CPU_ARCH = ${TARGET_ARCH}|" security/coreconf/Linux.mk
@@ -36,3 +41,5 @@ do_stage() {
# removes 2 lines that call absent headers
sed -e '178,179d' ${STAGING_INCDIR}/firefox-${PV}/nsIServiceManager.h
}
+
+addtask unpack2 after do_unpack before do_patch