freebsd-ports/deskutils/mcatalog/files/patch-src_mcatalog.in
Tom McLaughlin 0039297725 - Update to 0.2 and unbreak port
- Add WITH_MOZILLA knob
- Include bsd.mono.mk.

Approved by:    ahze (mentor)
Project by:     BSD# <http://www.mono-project.com/Mono:FreeBSD>
2005-11-10 04:56:18 +00:00

16 lines
450 B
Text

--- src/mcatalog.in.orig Sun Aug 7 14:51:42 2005
+++ src/mcatalog.in Sun Aug 7 14:51:49 2005
@@ -1,6 +1,12 @@
#!/bin/sh
-export LD_LIBRARY_PATH="@prefix@/lib/mcatalog:$LD_LIBRARY_PATH"
+MOZILLA_HOME=%%MOZILLA%%
+export MOZILLA_HOME
+
+MOZILLA_FIVE_HOME=%%MOZILLA%%
+export MOZILLA_FIVE_HOME
+
+export LD_LIBRARY_PATH="@prefix@/lib/mcatalog:%%MOZILLA%%:$LD_LIBRARY_PATH"
EXE_TO_RUN="@prefix@/lib/mcatalog/mcatalog.exe"
mono $EXE_TO_RUN "$@"