mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
184f8b1f5a
Funded by OpenOffice.org community
37 lines
1.6 KiB
Plaintext
37 lines
1.6 KiB
Plaintext
--- desktop/scripts/soffice.sh.orig 2008-06-09 08:57:10.000000000 -0400
|
|
+++ desktop/scripts/soffice.sh 2008-06-27 16:12:58.000000000 -0400
|
|
@@ -75,6 +75,15 @@
|
|
|
|
# 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
|
|
--- padmin/source/spadmin.sh.orig 2008-06-27 01:18:09.000000000 -0400
|
|
+++ padmin/source/spadmin.sh 2008-06-27 13:31:09.000000000 -0400
|
|
@@ -58,6 +58,15 @@
|
|
|
|
# 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
|