aboutsummaryrefslogtreecommitdiffstats
path: root/www/galeon/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'www/galeon/files/patch-ab')
-rw-r--r--www/galeon/files/patch-ab12
1 files changed, 4 insertions, 8 deletions
diff --git a/www/galeon/files/patch-ab b/www/galeon/files/patch-ab
index b13e0b2a87bc..79e523a1f68c 100644
--- a/www/galeon/files/patch-ab
+++ b/www/galeon/files/patch-ab
@@ -1,18 +1,15 @@
$FreeBSD$
---- src/galeon.in 2001/05/15 11:38:39 1.1
-+++ src/galeon.in 2001/05/15 11:42:43
-@@ -1,19 +1,15 @@
+--- src/galeon.orig Mon Apr 30 11:46:07 2001
++++ src/galeon Thu May 3 14:37:04 2001
+@@ -1,17 +1,13 @@
#!/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
@@ -30,11 +27,10 @@ $FreeBSD$
else
echo "Cannot find mozilla installation directory. Please set MOZILLA_FIVE_HOME to your mozilla directory"
exit
-@@ -34,6 +30,6 @@
+@@ -31,5 +27,5 @@
if [ -f ./galeon-bin ]; then
exec ./galeon-bin "$@"
else
-exec $dist_bin/galeon-bin "$@"
+exec %%PREFIX%%/bin/galeon-bin "$@"
fi
-