Merge pull request #25774 from matthewbauer/xapian-fixup

xapian: fixup darwin
This commit is contained in:
Jörg Thalheim 2017-05-19 09:41:01 +01:00 committed by GitHub
commit bde09a92c1

View File

@ -18,6 +18,13 @@ let
doCheck = true; doCheck = true;
# the configure script thinks that Darwin has ___exp10
# but its not available on my systems (or hydra apparently)
postConfigure = stdenv.lib.optionalString stdenv.isDarwin ''
substituteInPlace config.h \
--replace "#define HAVE___EXP10 1" "#undef HAVE___EXP10"
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Search engine library"; description = "Search engine library";
homepage = http://xapian.org/; homepage = http://xapian.org/;