From 0bce19465160edecee68db5b34589efa51aad222 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20V=C3=B6gele?= Date: Mon, 5 May 2014 01:01:35 -0500 Subject: office/texlive: Fix setting LD_LIBRARY_PATH during build The assignment LD_LIBRARY_PATH+=$PKG/usr/lib${LIBDIRSUFFIX} in texlive.SlackBuild doesn't work if LD_LIBRARY_PATH is not empty as no colon is inserted before the additional path, i.e. LD_LIBRARY_PATH is set to, for example, /usr/mylib/tmp/SBo/package-texlive/usr/lib instead of /usr/mylib:/tmp/SBo/package-texlive/usr/lib. Signed-off-by: Robby Workman --- office/texlive/texlive.SlackBuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'office/texlive/texlive.SlackBuild') diff --git a/office/texlive/texlive.SlackBuild b/office/texlive/texlive.SlackBuild index d6df923e2ec80..de43183baa8c4 100644 --- a/office/texlive/texlive.SlackBuild +++ b/office/texlive/texlive.SlackBuild @@ -128,7 +128,7 @@ mkdir build ; cd build cd .. # Create symlinks -PATH="$PATH:$PKG/usr/bin" LD_LIBRARY_PATH+=$PKG/usr/lib${LIBDIRSUFFIX} \ +PATH="$PATH:$PKG/usr/bin" LD_LIBRARY_PATH=$PKG/usr/lib${LIBDIRSUFFIX}:$LD_LIBRARY_PATH \ texlinks -f $PKG/usr/share/texmf-dist/web2c/fmtutil.cnf $PKG/usr/bin # Install the docs while we're still here -- cgit v1.2.3