summaryrefslogtreecommitdiff
path: root/padmin
diff options
context:
space:
mode:
authorPedro Giffuni <pfg@apache.org>2011-10-09 00:00:03 +0000
committerPedro Giffuni <pfg@apache.org>2011-10-09 00:00:03 +0000
commit601e868a69a0af2106437c2ef9c82dd5ab7b9e4c (patch)
tree5a8edf0d06bcc68c280e922ada2187c2afeb82ae /padmin
parent50304d7b09c4d5a444d4ccd83be94c38a098e49b (diff)
i87583: FreeBSD port: ORIGIN is not supported.
Diffstat (limited to 'padmin')
-rw-r--r--padmin/source/spadmin.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/padmin/source/spadmin.sh b/padmin/source/spadmin.sh
index c831ab7f0919..24b8314a5c20 100644
--- a/padmin/source/spadmin.sh
+++ b/padmin/source/spadmin.sh
@@ -54,6 +54,15 @@ done
# extend the ld_library_path for java: javaldx checks the sofficerc for us
if [ -x "$sd_prog/../basis-link/ure-link/bin/javaldx" ] ; then
+ # 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"
+ LD_LIBRARY_PATH=$sd_prog1:$sd_prog2${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}
+ export LD_LIBRARY_PATH
+ ;;
+ esac
my_path=`"$sd_prog/../basis-link/ure-link/bin/javaldx" $BOOTSTRAPVARS \
"-env:INIFILENAME=vnd.sun.star.pathname:$sd_prog/redirectrc"`
if [ -n "$my_path" ] ; then