3
0
Fork 0
forked from mirrors/nixpkgs

lvtk: Boost 1.59 compat

This commit is contained in:
William A. Kennington III 2015-09-03 10:52:30 -07:00
parent ffd9e6a6ae
commit 14e715a55d

View file

@ -9,10 +9,18 @@ stdenv.mkDerivation rec {
sha256 = "03nbj2cqcklqwh50zj2gwm07crh5iwqbpxbpzwbg5hvgl4k4rnjd";
};
buildInputs = [ boost gtkmm lv2 pkgconfig python ];
nativeBuildInputs = [ pkgconfig python ];
buildInputs = [ boost gtkmm lv2 ];
# Fix including the boost libraries during linking
postPatch = ''
sed -i '/target[ ]*= "ttl2c"/ ilib=["boost_system"],' tools/wscript_build
'';
configurePhase = ''
python waf configure --prefix=$out --boost-includes="${boost.dev}/include"
python waf configure --prefix=$out \
--boost-includes="${boost.dev}/include" \
--boost-libs="${boost.lib}/lib"
'';
buildPhase = "python waf";