summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorbad <bad@pkgsrc.org>2009-12-02 22:22:57 +0000
committerbad <bad@pkgsrc.org>2009-12-02 22:22:57 +0000
commitba70b8ad5215d93e14d2197a742cdda7add2a941 (patch)
tree95778afc9da4790be835c2dd3a62f122da251245 /misc
parent683d9e58e80cf879509c089fdd1e14fc36e1a0d3 (diff)
downloadpkgsrc-ba70b8ad5215d93e14d2197a742cdda7add2a941.tar.gz
Add spadmin-patch that I forgot in previous commit.
Diffstat (limited to 'misc')
-rw-r--r--misc/openoffice3-bin/files/spadmin-patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/misc/openoffice3-bin/files/spadmin-patch b/misc/openoffice3-bin/files/spadmin-patch
new file mode 100644
index 00000000000..18d1787eb85
--- /dev/null
+++ b/misc/openoffice3-bin/files/spadmin-patch
@@ -0,0 +1,17 @@
+#
+# $NetBSD: spadmin-patch,v 1.1 2009/12/02 22:22:57 bad Exp $
+#
+
+--- spadmin.orig 2009-10-08 12:21:04.000000000 +0200
++++ spadmin 2009-10-08 12:22:22.000000000 +0200
+@@ -56,6 +56,10 @@
+ esac
+ done
+
++# Set LD_LIBRARY_PATH so that javaldx finds libuno_sal.so.3:
++LD_LIBRARY_PATH=$sd_prog/../basis-link/program:$sd_prog/../basis-link/../ure/lib${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}
++export LD_LIBRARY_PATH
++
+ # 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 \