From bb943e3a7e604c7b2e186a27f9d31aa3a9b83a6e Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sun, 16 Sep 2018 13:39:25 +0700 Subject: academic/veusz: Fix build against new Qt5. Signed-off-by: Willy Sudiarto Raharjo --- academic/veusz/veusz.SlackBuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/academic/veusz/veusz.SlackBuild b/academic/veusz/veusz.SlackBuild index 21c0875fa3c2..119648fd3d11 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 \ -- cgit v1.2.3