Merge pull request #41951 from smaret/ispell

ispell: fix compilation on Darwin
This commit is contained in:
Daiderd Jordan 2018-06-14 01:29:02 +02:00 committed by GitHub
commit 20d16d92a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
];
postPatch = ''
cat >> local.h <<EOF
#define USG
${stdenv.lib.optionalString (!stdenv.isDarwin) "#define USG"}
#define TERMLIB "-lncurses"
#define LANGUAGES "{american,MASTERDICTS=american.med,HASHFILES=americanmed.hash}"
#define MASTERHASH "americanmed.hash"