Python: use the same include dir everywhere

Use the non-suffxed include dir even when building for secondary arch.
This greatly simplifies things for python packages with native code.
This commit is contained in:
Adrien Destugues
2017-07-04 18:46:29 +02:00
parent 6c78d9a2e6
commit 3661344276

View File

@@ -11,7 +11,7 @@ OSI-approved open source license.
HOMEPAGE="http://www.python.org"
LICENSE="Python"
COPYRIGHT="1990-2016, Python Software Foundation"
REVISION="3"
REVISION="4"
SOURCE_URI="https://www.python.org/ftp/python/$portVersion/Python-$portVersion.tar.xz"
CHECKSUM_SHA256="a01810ddfcec216bcdb357a84bfaafdfaa0ca42bbdaa4cb7ff74f5a9961e4041"
SOURCE_DIR="Python-$portVersion"
@@ -97,9 +97,9 @@ BUILD()
libtoolize --force --copy --install
aclocal
autoconf
runConfigure --omit-dirs binDir ./configure \
runConfigure --omit-dirs binDir,includeDir ./configure \
--enable-shared --without-ensurepip \
--with-system-expat --bindir=$commandBinDir
--with-system-expat --bindir=$commandBinDir --includedir=$developDir/headers
# prevent make from rebuilding stuff that requires python
touch Parser/asdl* Python/Python-ast.c Include/Python-ast.h