summaryrefslogtreecommitdiffstats
path: root/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'libraries')
-rw-r--r--libraries/python3-PyQt5/python3-PyQt5.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/libraries/python3-PyQt5/python3-PyQt5.SlackBuild b/libraries/python3-PyQt5/python3-PyQt5.SlackBuild
index c577da540d..9c4399e1b5 100644
--- a/libraries/python3-PyQt5/python3-PyQt5.SlackBuild
+++ b/libraries/python3-PyQt5/python3-PyQt5.SlackBuild
@@ -33,7 +33,7 @@
PRGNAM=python3-PyQt5
SRCNAM=PyQt5
VERSION=${VERSION:-5.13.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -63,8 +63,6 @@ else
LIBDIRSUFFIX=""
fi
-PYTHONVER=$(python3 -V 2>&1 | cut -f 2 -d' ' | cut -f 1-2 -d.)
-
set -e
rm -rf $PKG
@@ -93,7 +91,7 @@ python3 configure.py \
--qsci-api \
-q /usr/bin/qmake-qt5 \
--sip=/usr/bin/python3-sip \
- --sip-incdir=/usr/include/python$PYTHONVER
+ --sip-incdir=$(pkg-config --cflags-only-I python3 | sed -e 's/^-I//')
make
make -j1 install DESTDIR=$PKG INSTALL_ROOT=$PKG