python3: fix headers path in pkgconfig files

This commit is contained in:
Kacper Kasper
2018-08-04 01:50:05 +02:00
parent 1d7586932b
commit 711f6ccb2e

View File

@@ -11,7 +11,7 @@ OSI-approved open source license.
HOMEPAGE="https://www.python.org"
LICENSE="Python"
COPYRIGHT="1990-2017, Python Software Foundation"
REVISION="5"
REVISION="6"
SOURCE_URI="https://www.python.org/ftp/python/$portVersion/Python-$portVersion.tar.xz"
CHECKSUM_SHA256="cda7d967c9a4bfa52337cdf551bcc5cff026b6ac50a8834e568ce4a794ca81da"
SOURCE_DIR="Python-$portVersion"
@@ -129,6 +129,10 @@ INSTALL()
fi
prepareInstalledDevelLibs libpython3.6m
fixPkgconfig
if [ "$targetArchitecture" = x86_gcc2 ]; then
# fix pkgconfig to match configure flags
sed -i -e 's,headers/x86,headers,' $developLibDir/pkgconfig/python*.pc
fi
mkdir -p $prefix/lib/python3.6/vendor-packages
echo 'This directory contains packaged python modules.' \