openbsd-ports/x11/gnome/conduit/patches/patch-conduit_conduit
2009-01-06 10:48:57 +00:00

21 lines
701 B
Plaintext

$OpenBSD: patch-conduit_conduit,v 1.2 2009/01/06 10:48:57 ajacoutot Exp $
--- conduit/conduit.orig Tue Oct 21 09:49:00 2008
+++ conduit/conduit Tue Jan 6 11:41:20 2009
@@ -8,14 +8,13 @@
# Run mozilla takes care of settin up the appropriate environment variables
# to run a program using mozilla libs
-for d in `ls -d /usr/lib*/firefox* /usr/lib*/mozilla-firefox* 2> /dev/null | sort -r`
-do
+d="${LOCALBASE}/mozilla-firefox/"
+
if [ -x $d/run-mozilla.sh ]; then
echo INFO: FOUND FIREFOX LIBS AT $d
$d/run-mozilla.sh `dirname $0`/conduit.real $*
exit
fi
-done
echo "WARNING: COULD NOT FIND FIREFOX LIBRARIES"
echo "WARNING: CONDUIT MAY CRASH UNEXPECTEDLY"