diff options
author | eivind <eivind@FreeBSD.org> | 2000-01-08 22:01:09 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 2000-01-08 22:01:09 +0000 |
commit | ec16e170aee626f2e85e28ce4c41e6a86f3eba1e (patch) | |
tree | f32d8d6ba32e8c4e8f8ab0dacdb7cd4b66a52519 /german/staroffice52/files | |
parent | e0793b951f4ff6fcf9fc126c29a3704a3a749778 (diff) | |
download | FreeBSD-ports-ec16e170aee626f2e85e28ce4c41e6a86f3eba1e.zip FreeBSD-ports-ec16e170aee626f2e85e28ce4c41e6a86f3eba1e.tar.gz |
German StarOffice port.
Submitted by: Martin Blapp <mb@imp.ch>
Diffstat (limited to 'german/staroffice52/files')
-rw-r--r-- | german/staroffice52/files/setup.patch | 19 | ||||
-rw-r--r-- | german/staroffice52/files/soffice.patch | 44 |
2 files changed, 63 insertions, 0 deletions
diff --git a/german/staroffice52/files/setup.patch b/german/staroffice52/files/setup.patch new file mode 100644 index 0000000..e48ed36 --- /dev/null +++ b/german/staroffice52/files/setup.patch @@ -0,0 +1,19 @@ +*** setup.orig Mon Aug 23 23:11:00 1999 +--- setup Tue Oct 26 16:48:18 1999 +*************** +*** 25,31 **** + LD_LIBRARY_PATH=.:/usr/openwin/lib:../lib + export LD_LIBRARY_PATH + ;; +! Linux) + LD_LIBRARY_PATH=.:../lib:$LD_LIBRARY_PATH + export LD_LIBRARY_PATH + ;; +--- 25,31 ---- + LD_LIBRARY_PATH=.:/usr/openwin/lib:../lib + export LD_LIBRARY_PATH + ;; +! Linux|FreeBSD) + LD_LIBRARY_PATH=.:../lib:$LD_LIBRARY_PATH + export LD_LIBRARY_PATH + ;; diff --git a/german/staroffice52/files/soffice.patch b/german/staroffice52/files/soffice.patch new file mode 100644 index 0000000..501237f --- /dev/null +++ b/german/staroffice52/files/soffice.patch @@ -0,0 +1,44 @@ +--- soffice.orig Sun Dec 19 16:23:23 1999 ++++ soffice Sun Dec 19 16:22:13 1999 +@@ -15,12 +15,13 @@ + # resolve installation directory + sd_platform=`uname -s` + case $sd_platform in +- SCO_SV) test=/bin/test ;; +- *) test=/usr/bin/test ;; ++ FreeBSD) test=/bin/test && symb="-h" ;; ++ SCO_SV) test=/bin/test && symb="-L" ;; ++ *) test=/usr/bin/test && symb="-L" ;; + esac + + sd_cwd="`pwd`" +-if $test -L "$0" ; then ++if $test $symb "$0" ; then + sd_basename=`basename $0` + sd_script=`ls -l $0 | sed "s/.*${sd_basename} -> //g"` + else +@@ -37,9 +38,12 @@ + sd_fonts="$sd_inst/fonts" + + # extend the ld_library_path for java: javaldx checks the sofficerc for us +-java_ld_library_path=`"$sd_inst/bin/javaldx" "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9"` +-if [ "$java_ld_library_path" != "" ] ; then +- LD_LIBRARY_PATH=${java_ld_library_path}:${LD_LIBRARY_PATH} ++if [ -f $sd_inst/bin/javaldx ]; then ++ java_ld_library_path=`"$sd_inst/bin/javaldx" "$1" "$2" "$3" "$4" \ ++ "$5" "$6" "$7" "$8" "$9"` ++ if [ "$java_ld_library_path" != "" ] ; then ++ LD_LIBRARY_PATH=${java_ld_library_path}:${LD_LIBRARY_PATH} ++ fi + fi + + # set java environment variables +@@ -68,7 +72,7 @@ + export LD_LIBRARYN32_PATH + ;; + +- Linux) ++ Linux|FreeBSD) + LD_LIBRARY_PATH="$sd_inst/lib":$LD_LIBRARY_PATH + export LD_LIBRARY_PATH + ;; |