[Libreoffice-commits] .: desktop/scripts

Thomas Klausner tklausner at kemper.freedesktop.org
Thu Dec 16 04:53:05 PST 2010


 desktop/scripts/soffice.sh |    2 +-
 desktop/scripts/unopkg.sh  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 717b0494caf08005a01e73efeaa877bf0aaba1ef
Author: Thomas Klausner <wiz at NetBSD.org>
Date:   Thu Dec 16 13:51:31 2010 +0100

    Handle NetBSD the same as OpenBSD for LD_LIBRARY_PATH.

diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh
index cbef3b4..b45b6bc 100644
--- a/desktop/scripts/soffice.sh
+++ b/desktop/scripts/soffice.sh
@@ -70,7 +70,7 @@ fi
 sd_binary=`basename "$0" | sed 's/libreoffice/soffice/g'`.bin
 
 case "`uname -s`" in
-OpenBSD) # this is a temporary hack until we can live with the default search paths
+NetBSD|OpenBSD) # this is a temporary hack until we can live with the default search paths
     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}
diff --git a/desktop/scripts/unopkg.sh b/desktop/scripts/unopkg.sh
index 2be7493..40cf8aa 100644
--- a/desktop/scripts/unopkg.sh
+++ b/desktop/scripts/unopkg.sh
@@ -45,7 +45,7 @@ cd "$sd_cwd"
 
 # this is a temporary hack until we can live with the default search paths
 case "`uname -s`" in
-OpenBSD)
+NetBSD|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}}


More information about the Libreoffice-commits mailing list