aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-driver
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2016-04-25 21:39:06 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-04-27 18:16:04 +0700
commit3410b38753326ef63214264cc99da22cd53762da (patch)
treecfc6c50bd3b535ed74dac3cd7ddbdb059a571af6 /system/nvidia-driver
parenta7bd97abea6530f03c7667083fb12d3d0653f1f0 (diff)
system/nvidia-driver: Fix symlinks pointing to $PKG/ tree
Thanks to gperon on LQ. http://www.linuxquestions.org/questions/slackware-14/sbo-scripts-not-building-on-current-read-1st-post-pls-4175561999/page11.html#post5536231 Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/nvidia-driver')
-rw-r--r--system/nvidia-driver/nvidia-driver.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/nvidia-driver/nvidia-driver.SlackBuild b/system/nvidia-driver/nvidia-driver.SlackBuild
index a24b2c2378fb3..5e48acc6649e2 100644
--- a/system/nvidia-driver/nvidia-driver.SlackBuild
+++ b/system/nvidia-driver/nvidia-driver.SlackBuild
@@ -27,7 +27,7 @@
PRGNAM=nvidia-driver
VERSION=${VERSION:-361.28}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CPROXY=${CPROXY:-no}
#GLVND=${GLVND:-no} # possibly switch needed?
@@ -210,7 +210,7 @@ cd -
cd $PKG/usr/lib$LIBDIRSUFFIX/tls
ln -sf libnvidia-tls.so.$VERSION libnvidia-tls.so
cd -
-ln -sf $PKG/usr/lib$LIBDIRSUFFIX/tls/libnvidia-tls.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/libnvidia-tls.so
+ln -sf /usr/lib$LIBDIRSUFFIX/tls/libnvidia-tls.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/libnvidia-tls.so
# symlinks for optional 32-bit support
if [ "$ARCH" = "x86_64" -a "${COMPAT32}" = "yes" ]; then
@@ -233,7 +233,7 @@ if [ "$ARCH" = "x86_64" -a "${COMPAT32}" = "yes" ]; then
cd $PKG/usr/lib$LIBDIRSUFFIX/tls
ln -sf libnvidia-tls.so.$VERSION libnvidia-tls.so
cd -
- ln -sf $PKG/usr/lib$LIBDIRSUFFIX/tls/libnvidia-tls.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/libnvidia-tls.so
+ ln -sf /usr/lib$LIBDIRSUFFIX/tls/libnvidia-tls.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/libnvidia-tls.so
fi
# Next come the apps