1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/www/galeon2/files/patch-ab
Maxim Sobolev 0930aace90 Update to 0.7.2.
Now the port uses mozilla-embedded port for html rendering by default, but you
can override it by defining WITH_FULL_MOZILLA (for example if you are planning
to use both mozilla and galeon on the same machine).

WARNING! This port requires M17 to work.
2000-08-17 09:49:02 +00:00

24 lines
833 B
Plaintext

--- src/galeon.orig Tue Aug 1 11:22:03 2000
+++ src/galeon Tue Aug 1 11:22:14 2000
@@ -1,14 +1,14 @@
-#!/bin/bash
+#!/bin/sh
-dist_bin=`dirname $0`
+dist_bin=%%PREFIX%%/bin
if test -n "$MOZILLA_FIVE_HOME"; then
export LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH
exec $dist_bin/galeon-bin $@
-elif [ -f /usr/local/mozilla/libgtkembedmoz.so ]; then
- MOZILLA_HOME=/usr/local/mozilla
-elif [ -f /usr/lib/mozilla/libgtkembedmoz.so ]; then
- MOZILLA_HOME=/usr/lib/mozilla
+elif [ -f %%LOCALBASE%%/lib/%%MOZILLA%%/libgtkembedmoz.so ]; then
+ MOZILLA_HOME=%%LOCALBASE%%/lib/%%MOZILLA%%
+elif [ -f %%X11BASE%%/lib/%%MOZILLA%%/libgtkembedmoz.so ]; then
+ MOZILLA_HOME=%%X11BASE%%/lib/%%MOZILLA%%
else
echo "Cannot find mozilla installation directory. Please set MOZILLA_FIVE_HOME to your mozilla directory"
exit