From 3661344276346ffbeff297c73cd2b3ef6b965777 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Tue, 4 Jul 2017 18:46:29 +0200 Subject: [PATCH] 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. --- dev-lang/python/python3-3.6.1.recipe | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-lang/python/python3-3.6.1.recipe b/dev-lang/python/python3-3.6.1.recipe index f43fccfa4..1f17f1325 100644 --- a/dev-lang/python/python3-3.6.1.recipe +++ b/dev-lang/python/python3-3.6.1.recipe @@ -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