xapian: fixup darwin

The configure script is detecting that __exp10 is available even
though it isn’t on latest versions. This is the best fix I can find
for now.
This commit is contained in:
Matthew Bauer 2017-05-13 23:45:02 -05:00
parent c9f8fb4d12
commit f33ca4edc6
No known key found for this signature in database
GPG Key ID: E04D0AD9469141C3

View File

@ -18,6 +18,13 @@ let
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; {
description = "Search engine library";
homepage = http://xapian.org/;