kyotocabinet: fix darwin build

This commit is contained in:
Daiderd Jordan 2017-09-12 22:03:08 +02:00
parent f0956b7baf
commit 4d7c3b2f5f
No known key found for this signature in database
GPG Key ID: D02435D05B810C96

View File

@ -17,7 +17,11 @@ stdenv.mkDerivation rec {
--replace tr1::unordered_set std::unordered_set
substituteInPlace lab/kcdict/Makefile --replace stdc++ c++
substituteInPlace configure --replace stdc++ c++
substituteInPlace configure \
--replace /usr/local/bin:/usr/local/sbin: "" \
--replace /usr/bin:/usr/sbin: "" \
--replace /bin:/sbin: "" \
--replace stdc++ c++
'';
patches = [(fetchurl {