pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc Add the pkgsrc library path to LD_LIBRARY_PATH so...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7159ba10de86
branches: trunk
changeset: 500178:7159ba10de86
user: mrauch <mrauch%pkgsrc.org@localhost>
date: Mon Oct 03 15:53:34 2005 +0000
description:
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:
misc/openoffice-bin/files/soffice | 6 +++++-
misc/openoffice/files/soffice | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diffs (40 lines):
diff -r bbb74891778c -r 7159ba10de86 misc/openoffice-bin/files/soffice
--- a/misc/openoffice-bin/files/soffice Mon Oct 03 15:25:14 2005 +0000
+++ b/misc/openoffice-bin/files/soffice Mon Oct 03 15:53:34 2005 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: soffice,v 1.2 2005/02/26 01:22:16 dmcmahill Exp $
+# $NetBSD: soffice,v 1.3 2005/10/03 15:53:34 mrauch Exp $
#
SOINST=@@PREFIX@@/OpenOffice.org@@OO_VER@@
[ "X$SOFFICE" = "X" ] && SOFFICE=$HOME/OpenOffice.org@@OO_VER@@
@@ -62,4 +62,8 @@
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 "$@"
diff -r bbb74891778c -r 7159ba10de86 misc/openoffice/files/soffice
--- a/misc/openoffice/files/soffice Mon Oct 03 15:25:14 2005 +0000
+++ b/misc/openoffice/files/soffice Mon Oct 03 15:53:34 2005 +0000
@@ -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 @@
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 "$@"
Home |
Main Index |
Thread Index |
Old Index