[Bsd-sharp-cvs] CVS commit to /cvsroot/bsd-sharp/FreeBSD-ports/devel/monodevelop/files by tmclau02

noreply at forge.novell.com noreply at forge.novell.com
Sun Dec 18 19:44:29 MST 2005


CVS commit to /cvsroot/bsd-sharp/FreeBSD-ports/devel/monodevelop/files by tmclau02

Added Files:
	patch-monodevelop.in 
Log Message:
Patch MonoDevelop startup script to work when only firefox is installed.

===================================================================
RCS file: /cvsroot/bsd-sharp/FreeBSD-ports/devel/monodevelop/files/patch-monodevelop.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- /cvsroot/bsd-sharp/FreeBSD-ports/devel/monodevelop/files/patch-monodevelop.in	2005/10/29 07:01:07	1.3
+++ /cvsroot/bsd-sharp/FreeBSD-ports/devel/monodevelop/files/patch-monodevelop.in	2005/12/19 02:44:29	1.4
@@ -1,12 +1,11 @@
---- monodevelop.in.orig	Sun May 15 13:54:27 2005
-+++ monodevelop.in	Thu May 19 22:28:25 2005
-@@ -1,6 +1,8 @@
- #!/bin/sh
- 
--function reWrite {
-+MOZILLA_FIVE_HOME=%%MOZILLA%%
-+
-+reWrite () {
-     ret=""
-     WD=`pwd`
-     for arg in $*
+--- monodevelop.in.orig	Fri Sep 23 16:11:15 2005
++++ monodevelop.in	Sun Dec 18 21:10:56 2005
+@@ -20,6 +20,8 @@
+ 	MOZILLA_HOME=$MOZILLA_FIVE_HOME
+ elif [ -f @MOZILLA_HOME@/chrome/comm.jar ]; then
+         MOZILLA_HOME=@MOZILLA_HOME@
++elif [ -f %%X11BASE%%/lib/firefox/chrome/comm.jar ]; then
++	MOZILLA_HOME=%%X11BASE%%/lib/firefox
+ elif [ $(which mozilla) ] && grep MOZILLA_FIVE_HOME= "$(which mozilla)" > /dev/null ; then
+ 	MOZILLA_HOME=$(grep MOZILLA_FIVE_HOME= $(which mozilla) | cut -d '"' -f 2)
+ elif [ $(which firefox) ] && grep MOZILLA_FIVE_HOME= "$(which firefox)" > /dev/null ; then



More information about the Bsd-sharp-cvs mailing list