summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/VTK/VTK.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/libraries/VTK/VTK.SlackBuild b/libraries/VTK/VTK.SlackBuild
index 2190d37d3f..1a1c905e7d 100644
--- a/libraries/VTK/VTK.SlackBuild
+++ b/libraries/VTK/VTK.SlackBuild
@@ -134,11 +134,11 @@ cd build
make install DESTDIR=$PKG
cd ..
-mkdir -p $PKG/usr/lib64/python2.7/site-packages/
+mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/python2.7/site-packages/
mv \
- $PKG/opt/VTK/lib64/python2.7/site-packages/vtk \
- $PKG/usr/lib64/python2.7/site-packages/
-rm -rf $PKG/opt/VTK/lib64/python2.7
+ $PKG/opt/VTK/lib$LIBDIRSUFFIX/python2.7/site-packages/vtk \
+ $PKG/usr/lib$LIBDIRSUFFIX/python2.7/site-packages/
+rm -rf $PKG/opt/VTK/lib$LIBDIRSUFFIX/python2.7
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true