summaryrefslogtreecommitdiff
path: root/mozilla
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-08-03 22:38:31 +0000
committerPhil Blundell <philb@gnu.org>2004-08-03 22:38:31 +0000
commitc9e264f5ede941009abbef60eb79d80c9547c034 (patch)
treeee069bda92e130cbfff79b8226dcc3dfd666e4fc /mozilla
parent14f359ca119e7701fefc0062ac52466d5f791419 (diff)
one more try at fixing firefox permissions drama
BKrev: 411013e7x8HgCYOleeIPFZZ2r3xPKQ
Diffstat (limited to 'mozilla')
-rw-r--r--mozilla/firefox_0.9.2.oe12
1 files changed, 6 insertions, 6 deletions
diff --git a/mozilla/firefox_0.9.2.oe b/mozilla/firefox_0.9.2.oe
index 14bba18b0f..8227a0ee74 100644
--- a/mozilla/firefox_0.9.2.oe
+++ b/mozilla/firefox_0.9.2.oe
@@ -1,5 +1,5 @@
DEPENDS = "xt xi zip-native gtk+ orbit2"
-PR = "r8"
+PR = "r9"
SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/firefox-${PV}-source.tar.bz2 \
file://mozconfig \
@@ -12,10 +12,7 @@ S = "${WORKDIR}/mozilla"
FILES_${PN} += "${libdir}/firefox-${PV} ${datadir}/idl"
-CFLAGS := "${@'${CFLAGS}'.replace('-frename-registers', '')} -fsigned-char -fno-strict-aliasing"
-CXXFLAGS := "${@'${CXXFLAGS}'.replace('-frename-registers', '')} -fsigned-char -fno-strict-aliasing"
-
-SELECTED_OPTIMIZATION = "-Os"
+SELECTED_OPTIMIZATION = "-Os -fsigned-char -fno-strict-aliasing"
export CROSS_COMPILE=1
export HOST_LIBIDL_CONFIG="libIDL-config-2"
@@ -42,6 +39,9 @@ do_install() {
install -m 0644 ${WORKDIR}/mozilla-firefox.desktop ${D}${datadir}/applications/
install -m 0644 ${WORKDIR}/mozilla-firefox.png ${D}${datadir}/pixmaps/
# work around requirement for root access on first startup
- chmod -R a+w ${D}${libdir}/firefox*
+}
+
+pkg_postinst_firefox() {
+ chmod -R a+w ${libdir}/firefox*
}