summaryrefslogtreecommitdiff
path: root/misc/openoffice
diff options
context:
space:
mode:
authormrauch <mrauch@pkgsrc.org>2005-10-03 15:53:34 +0000
committermrauch <mrauch@pkgsrc.org>2005-10-03 15:53:34 +0000
commit92ed427cab1859699d818aae74ad7a8f97a81a08 (patch)
tree3e956737454b0f233f8fd10601471b9e225a8b89 /misc/openoffice
parent1536724ec96426822fdc778af57ad2d1ad26a582 (diff)
downloadpkgsrc-92ed427cab1859699d818aae74ad7a8f97a81a08.tar.gz
Add the pkgsrc library path to LD_LIBRARY_PATH so shared libraries from
other packages which are loaded during runtime via dlopen() can be found. This is necessary for fixing PR pkg/30473.
Diffstat (limited to 'misc/openoffice')
-rwxr-xr-xmisc/openoffice/files/soffice6
1 files changed, 5 insertions, 1 deletions
diff --git a/misc/openoffice/files/soffice b/misc/openoffice/files/soffice
index fde43d8440a..928949b2d65 100755
--- a/misc/openoffice/files/soffice
+++ b/misc/openoffice/files/soffice
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: soffice,v 1.5 2005/01/06 15:52:20 mrauch Exp $
+# $NetBSD: soffice,v 1.6 2005/10/03 15:53:34 mrauch Exp $
#
SOINST=@@PREFIX@@/@@OPENOFFICE_VERSION@@
[ "$SOFFICE" = "" ] && SOFFICE=$HOME/@@OPENOFFICE_VERSION@@
@@ -50,4 +50,8 @@ PTHREAD_DIAGASSERT=AEL
export PTHREAD_DIAGASSERT
fi
+# Let the standard pkgsrc libraries be found by dlopen()
+LD_LIBRARY_PATH=$LD_LIBRARY_PATH:@@PREFIX@@/lib
+export LD_LIBRARY_PATH
+
exec ${SOFFICE}/soffice "$@"