aboutsummaryrefslogtreecommitdiffstats
path: root/www/firefox35
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2005-02-28 10:28:49 +0800
committermarcus <marcus@FreeBSD.org>2005-02-28 10:28:49 +0800
commit3ebaa396639287ecfcc9fd6eee083d14d735b7d5 (patch)
treee8700d5408f16bab3e59ca46f67fdc043b2847f6 /www/firefox35
parent0654b85a1b8cceb69fdef507301c58a17d0a4c14 (diff)
downloadfreebsd-ports-gnome-3ebaa396639287ecfcc9fd6eee083d14d735b7d5.tar.gz
freebsd-ports-gnome-3ebaa396639287ecfcc9fd6eee083d14d735b7d5.tar.zst
freebsd-ports-gnome-3ebaa396639287ecfcc9fd6eee083d14d735b7d5.zip
Re-add support for specifying a profile using the -P option.
Submitted by: Jeremy Prior <jez@netcraft.com>
Diffstat (limited to 'www/firefox35')
-rw-r--r--www/firefox35/files/patch-browser_app_mozilla.in15
1 files changed, 12 insertions, 3 deletions
diff --git a/www/firefox35/files/patch-browser_app_mozilla.in b/www/firefox35/files/patch-browser_app_mozilla.in
index 76ff9d655757..d06f6f07ff11 100644
--- a/www/firefox35/files/patch-browser_app_mozilla.in
+++ b/www/firefox35/files/patch-browser_app_mozilla.in
@@ -1,5 +1,5 @@
---- browser/app/mozilla.in.orig Tue Oct 26 11:26:11 2004
-+++ browser/app/mozilla.in Wed Feb 23 11:09:49 2005
+--- browser/app/mozilla.in.orig Tue Oct 26 10:26:11 2004
++++ browser/app/mozilla.in Mon Feb 28 02:14:53 2005
@@ -28,52 +28,110 @@
## The script will setup all the environment voodoo needed to make
## the mozilla-bin binary to work.
@@ -151,7 +151,7 @@
# Use run-mozilla.sh in the current dir if it exists
# If not, then start resolving symlinks until we find run-mozilla.sh
-@@ -82,149 +140,224 @@
+@@ -82,149 +140,233 @@
curdir=`dirname "$progname"`
progbase=`basename "$progname"`
run_moz="$curdir/run-mozilla.sh"
@@ -350,6 +350,15 @@
+ moreargs="${moreargs} $1"
+ shift
+ ;;
++ -P)
++ if [ -n "$2" ]; then
++ moreargs="${moreargs} $1 '$2'"
++ shift 2
++ else
++ echo "$0: ERROR, -P needs an argument. Exiting" 1>&2
++ exit 1
++ fi
++ ;;
+ -*)
+ moreargs="${moreargs} $1"
+ shift