libtorrent-rasterbar: Use Boost supporting Python
Since 772eef91686974b7710081a9a77e5c0e287c25e8, the Boost package doesn't support Python by default anymore, so we need to override it with Python support because --enable-python-binding is enabled by default in libtorrent-rasterbar. The build of the package now succeeds again on my x86_64-linux machine. Signed-off-by: aszlig <aszlig@nix.build> Cc: @phreedom
This commit is contained in:
parent
b916ed31f2
commit
f081ccccd1
@ -4,6 +4,9 @@
|
|||||||
let
|
let
|
||||||
version = "1.1.7";
|
version = "1.1.7";
|
||||||
formattedVersion = lib.replaceChars ["."] ["_"] version;
|
formattedVersion = lib.replaceChars ["."] ["_"] version;
|
||||||
|
|
||||||
|
boostPython = boost.override { enablePython = true; };
|
||||||
|
|
||||||
in stdenv.mkDerivation {
|
in stdenv.mkDerivation {
|
||||||
name = "libtorrent-rasterbar-${version}";
|
name = "libtorrent-rasterbar-${version}";
|
||||||
|
|
||||||
@ -27,15 +30,15 @@ in stdenv.mkDerivation {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
nativeBuildInputs = [ automake autoconf libtool pkgconfig ];
|
nativeBuildInputs = [ automake autoconf libtool pkgconfig ];
|
||||||
buildInputs = [ boost openssl zlib python libiconv geoip ];
|
buildInputs = [ boostPython openssl zlib python libiconv geoip ];
|
||||||
preConfigure = "./autotool.sh";
|
preConfigure = "./autotool.sh";
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-python-binding"
|
"--enable-python-binding"
|
||||||
"--with-libgeoip=system"
|
"--with-libgeoip=system"
|
||||||
"--with-libiconv=yes"
|
"--with-libiconv=yes"
|
||||||
"--with-boost=${boost.dev}"
|
"--with-boost=${boostPython.dev}"
|
||||||
"--with-boost-libdir=${boost.out}/lib"
|
"--with-boost-libdir=${boostPython.out}/lib"
|
||||||
"--with-libiconv=yes"
|
"--with-libiconv=yes"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user