openbsd-ports/editors/openoffice3/patches/patch-padmin_source_spadmin_sh
robert e6e6700ff2 Update to OpenOffice.Org 3.0.1, and finally make it work.
Some extensions have been added by default like the PDF Importer.
2009-01-31 01:06:20 +00:00

21 lines
768 B
Plaintext

$OpenBSD: patch-padmin_source_spadmin_sh,v 1.1 2009/01/31 01:06:20 robert Exp $
--- padmin/source/spadmin.sh.orig.port Wed Jan 28 17:03:20 2009
+++ padmin/source/spadmin.sh Thu Jan 29 15:31:47 2009
@@ -56,6 +56,16 @@ do
esac
done
+# this is a temporary hack until we can live with the default search paths
+case "`uname -s`" in
+OpenBSD)
+ 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
+
# extend the ld_library_path for java: javaldx checks the sofficerc for us
if [ -x "$sd_prog/../basis-link/ure-link/bin/javaldx" ] ; then
my_path=`"$sd_prog/../basis-link/ure-link/bin/javaldx" $BOOTSTRAPVARS \