summaryrefslogtreecommitdiff
path: root/academic/veusz/veusz.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/veusz/veusz.SlackBuild')
-rw-r--r--academic/veusz/veusz.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/academic/veusz/veusz.SlackBuild b/academic/veusz/veusz.SlackBuild
index 21c0875fa3..119648fd3d 100644
--- a/academic/veusz/veusz.SlackBuild
+++ b/academic/veusz/veusz.SlackBuild
@@ -69,6 +69,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+PYTHONVER=$(python -V 2>&1 | cut -f 2 -d' ' | cut -f 1-2 -d.)
+export SIP_EXE=/usr/bin/python2-sip
+export SIP_INCLUDE_DIR="/usr/include/python$PYTHONVER/python2-sip"
+
python setup.py install --root $PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \