boost: disable system Python.framework detection

There doesn't seem to be a --without-python flag and since the system
framework is always available the build tries to enable python support
while we have it disabled by default and explicitly don't pass in the
python headers.
This commit is contained in:
Daiderd Jordan
2018-07-03 21:08:46 +02:00
parent 208091b31b
commit bce4388874
2 changed files with 52 additions and 5 deletions
+7 -5
View File
@@ -87,11 +87,13 @@ stdenv.mkDerivation {
inherit src;
patchFlags = optionalString (hostPlatform.libc == "msvcrt") "-p0";
patches = patches ++ optional (hostPlatform.libc == "msvcrt") (fetchurl {
url = "https://svn.boost.org/trac/boost/raw-attachment/tickaet/7262/"
+ "boost-mingw.patch";
sha256 = "0s32kwll66k50w6r5np1y5g907b7lcpsjhfgr7rsw7q5syhzddyj";
});
patches = patches
++ optional stdenv.isDarwin ./darwin-no-system-python.patch
++ optional (hostPlatform.libc == "msvcrt") (fetchurl {
url = "https://svn.boost.org/trac/boost/raw-attachment/tickaet/7262/"
+ "boost-mingw.patch";
sha256 = "0s32kwll66k50w6r5np1y5g907b7lcpsjhfgr7rsw7q5syhzddyj";
});
meta = {
homepage = http://boost.org/;