mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-15 00:00:07 +02:00
python3: fix headers path in pkgconfig files
This commit is contained in:
@@ -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.' \
|
||||
|
||||
Reference in New Issue
Block a user