mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-15 16:20:08 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user