aboutsummaryrefslogtreecommitdiff
path: root/libraries/VTK/VTK.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-26 23:18:57 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-05 07:02:36 +0700
commit7482160bd04d3f726a0b299a6e42cf4f8685bd45 (patch)
tree145e2af21ed5bc5b4fde832eb108b3f95d937885 /libraries/VTK/VTK.SlackBuild
parent9eb0e0335dbee185ba878cf98a6ac3fd143c29ab (diff)
libraries/VTK: Fixed build error on i486.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/VTK/VTK.SlackBuild')
-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 2190d37d3f15..1a1c905e7df6 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