From b9e6f21603fe3343a76e4382fefaa8bc60fdd200 Mon Sep 17 00:00:00 2001 From: Dave Woodfall Date: Sat, 25 Apr 2020 18:59:23 +0100 Subject: python/python3-sip: Change python3 include path. Signed-off-by: Willy Sudiarto Raharjo --- python/python3-sip/python3-sip.SlackBuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'python/python3-sip/python3-sip.SlackBuild') diff --git a/python/python3-sip/python3-sip.SlackBuild b/python/python3-sip/python3-sip.SlackBuild index cc464f5905..349461061f 100644 --- a/python/python3-sip/python3-sip.SlackBuild +++ b/python/python3-sip/python3-sip.SlackBuild @@ -1,5 +1,7 @@ #!/bin/sh +# Now maintained by Dave Woodfall (2020-04-24 14:13:15 +0100) +# # Copyright 2008 Aleksandar Samardzic # Copyright 2008, 2009, 2010, 2011 Patrick J. Volkerding, Sebeka, MN, USA # Copyright 2016 Marcel Saegebarth @@ -31,7 +33,7 @@ PRGNAM=python3-sip SRCNAM=sip VERSION=${VERSION:-4.19.20} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -82,7 +84,7 @@ find -L . \ python3 configure.py \ -b "/usr/bin" \ -d "$PYTHONLIB" \ - -e "/usr/include/python$PYTHONVER" \ + -e $(pkg-config --cflags-only-I python3 | sed -e 's/^-I//') \ --sip-module "PyQt5.sip" \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" -- cgit v1.2.3