diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2016-04-25 21:39:06 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-04-27 18:16:04 +0700 |
commit | 3410b38753326ef63214264cc99da22cd53762da (patch) | |
tree | cfc6c50bd3b535ed74dac3cd7ddbdb059a571af6 | |
parent | a7bd97abea6530f03c7667083fb12d3d0653f1f0 (diff) | |
download | slackbuilds-3410b38753326ef63214264cc99da22cd53762da.tar.gz |
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>
-rw-r--r-- | system/nvidia-driver/nvidia-driver.SlackBuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/system/nvidia-driver/nvidia-driver.SlackBuild b/system/nvidia-driver/nvidia-driver.SlackBuild index a24b2c2378..5e48acc664 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 |