--- work/DEV300_m4/desktop/scripts/soffice.sh 2008-03-18 22:44:45.000000000 +0900 +++ /usr/local/openoffice.org-DEV300_m4/openoffice.org3.0/program/soffice 2008-03-29 19:17:49.000000000 +0900 @@ -68,6 +68,23 @@ sd_binary=`basename "$0"`.bin +# this is a temporary hack until we can live with the default search paths +case "`uname -s`" in + FreeBSD) + sd_prog1="$sd_prog/../basis-link/program" + sd_prog2="$sd_prog/../basis-link/ure-link/lib" + if [ $LD_LIBRARY_PATH ]; then + SYSTEM_LD_LIBRARY_PATH=$LD_LIBRARY_PATH + export SYSTEM_LD_LIBRARY_PATH + LD_LIBRARY_PATH="$sd_prog1:$sd_prog2":$LD_LIBRARY_PATH + else + LD_LIBRARY_PATH="$sd_prog1:$sd_prog2" + fi + export LD_LIBRARY_PATH + ;; + +esac + #collect all bootstrap variables specified on the command line #so that they can be passed as arguments to javaldx later on for arg in $@