freebsd-ports/editors/openoffice-3/files/patch-i87583
Maho Nakata b94ee5b4f0 Create openoffice.org-3 port. Repocopied from
openoffice.org-2 port. Currently this is the
beta version. Second beta will be July 1st 2008, and
the final release will be September 2nd, 2008.
http://wiki.services.openoffice.org/wiki/OOoRelease30

PR:             123105
2008-05-27 07:37:30 +00:00

26 lines
827 B
Text

--- desktop/scripts/soffice.sh 2008-03-18 22:44:45.000000000 +0900
+++ desktop/scripts/soffice.sh 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 $@