diff options
Diffstat (limited to 'www/galeon2/files/patch-ab')
-rw-r--r-- | www/galeon2/files/patch-ab | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/www/galeon2/files/patch-ab b/www/galeon2/files/patch-ab index 79e523a1f68..b13e0b2a87b 100644 --- a/www/galeon2/files/patch-ab +++ b/www/galeon2/files/patch-ab @@ -1,15 +1,18 @@ $FreeBSD$ ---- src/galeon.orig Mon Apr 30 11:46:07 2001 -+++ src/galeon Thu May 3 14:37:04 2001 -@@ -1,17 +1,13 @@ +--- src/galeon.in 2001/05/15 11:38:39 1.1 ++++ src/galeon.in 2001/05/15 11:42:43 +@@ -1,19 +1,15 @@ #!/bin/sh -dist_bin=`dirname $0` - if test -n "$MOZILLA_FIVE_HOME"; then MOZILLA_HOME=$MOZILLA_FIVE_HOME +-elif [ -f @MOZILLA_HOME@/chrome/embed.jar ]; then ++elif [ -f @MOZILLA_HOME@/libgtkembedmoz.so ]; then + MOZILLA_HOME=@MOZILLA_HOME@ -elif [ -f /usr/local/mozilla/chrome/embed.jar ]; then - MOZILLA_HOME=/usr/local/mozilla -elif [ -f /usr/lib/mozilla/chrome/embed.jar ]; then @@ -27,10 +30,11 @@ $FreeBSD$ else echo "Cannot find mozilla installation directory. Please set MOZILLA_FIVE_HOME to your mozilla directory" exit -@@ -31,5 +27,5 @@ +@@ -34,6 +30,6 @@ if [ -f ./galeon-bin ]; then exec ./galeon-bin "$@" else -exec $dist_bin/galeon-bin "$@" +exec %%PREFIX%%/bin/galeon-bin "$@" fi + |