diff options
author | ahze <ahze@FreeBSD.org> | 2004-11-13 16:23:09 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2004-11-13 16:23:09 +0800 |
commit | 37d4aaea2989227c12d78b59d470f49476ab5e14 (patch) | |
tree | 4504956c98591ac317a742293e2d80663fb436c1 /www/firefox/files | |
parent | be8c35f552d19a752c8beedd3482410b4cf91f21 (diff) | |
download | freebsd-ports-gnome-37d4aaea2989227c12d78b59d470f49476ab5e14.tar.gz freebsd-ports-gnome-37d4aaea2989227c12d78b59d470f49476ab5e14.tar.zst freebsd-ports-gnome-37d4aaea2989227c12d78b59d470f49476ab5e14.zip |
Change the Firefox installation directory to be more manageable. Now,
Firefox is installed similar to Mozilla in that its main installation
directory no longer has a Firefox version number in its name. This will
help maintainers of ports that depend on Firefox stay in sync more
easily.
Add i18n Support [1]
PR: ports/73837 [1]
Submitted by: Jose M Rodriguez <josemi@freebsd.jazztel.es> [1]
Approved by: marcus (co mentor)
Diffstat (limited to 'www/firefox/files')
-rw-r--r-- | www/firefox/files/mozconfig.in | 3 | ||||
-rw-r--r-- | www/firefox/files/patch-browser_app_mozilla.in | 38 |
2 files changed, 37 insertions, 4 deletions
diff --git a/www/firefox/files/mozconfig.in b/www/firefox/files/mozconfig.in index d77584ed4edc..26bd8e79d771 100644 --- a/www/firefox/files/mozconfig.in +++ b/www/firefox/files/mozconfig.in @@ -21,7 +21,7 @@ mk_add_options XP_UNIX=1 export PERL="@PERL@" mk_add_options PERL=$PERL # Configure options for installation -ac_add_options --prefix=@PREFIX@ +ac_add_options --prefix=@FAKEDIR@ ###################################################################### # Use ports for these libraries ac_add_options --with-system-jpeg=@LOCALBASE@ @@ -29,6 +29,7 @@ ac_add_options --with-system-zlib ac_add_options --with-system-png=@LOCALBASE@ ac_add_options --with-system-mng=@LOCALBASE@ ac_add_options --without-system-nspr +ac_add_options --with-gssapi=/usr ###################################################################### # set compile/link features ac_add_options --with-pthreads diff --git a/www/firefox/files/patch-browser_app_mozilla.in b/www/firefox/files/patch-browser_app_mozilla.in index 714c8b33930f..cf763eeaa053 100644 --- a/www/firefox/files/patch-browser_app_mozilla.in +++ b/www/firefox/files/patch-browser_app_mozilla.in @@ -1,6 +1,6 @@ ---- browser/app/mozilla.in.orig Sat Oct 2 02:05:53 2004 -+++ browser/app/mozilla.in Sat Oct 2 02:06:15 2004 -@@ -110,6 +110,7 @@ +--- browser/app/mozilla.in.orig Sat Nov 13 00:54:51 2004 ++++ browser/app/mozilla.in Sat Nov 13 00:57:22 2004 +@ -110,6 +110,7 @@ # Check default compile-time libdir if [ -x "$moz_libdir/run-mozilla.sh" ]; then dist_bin="$moz_libdir" @@ -8,3 +8,35 @@ else echo "Cannot find mozilla runtime directory. Exiting." exit 1 +@@ -207,12 +207,31 @@ + script_args="$script_args -d $2" + shift 2 + ;; ++ -UILocale) ++ moreargs="$moreargs -UILocale $2" ++ _done_locale="YES" ++ shift 2 ++ ;; ++ -UIRegion) ++ if [ -n "${_done_locale}" ]; then ++ moreargs="$moreargs -UIRegion $2" ++ fi ++ shift 2 ++ ;; + *) + moreargs="$moreargs \"$1\"" + shift 1 + ;; + esac + done ++ ++if [ ! -n "${_done_locale}" -a -n "${MOZILLA_UILOCALE}" ]; then ++ if [ -n "${MOZILLA_UIREGION}" ]; then ++ moreargs="-UIRegion ${MOZILLA_UIREGION} $moreargs" ++ fi ++ moreargs="-UILocale ${MOZILLA_UILOCALE} $moreargs" ++fi ++unset _done_locale + + export MRE_HOME + eval "set -- $moreargs" |