diff --git a/dev-lang/python/python3-3.6.3.recipe b/dev-lang/python/python3-3.6.3.recipe index 14ef9555f..0d684dca7 100644 --- a/dev-lang/python/python3-3.6.3.recipe +++ b/dev-lang/python/python3-3.6.3.recipe @@ -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.' \