ispell: fix compilation on Darwin

Closes #41948.
This commit is contained in:
Sebastien Maret 2018-06-14 00:41:03 +02:00
parent 41f3dee176
commit 9f00b07aa4

View file

@ -22,8 +22,8 @@ stdenv.mkDerivation rec {
./patches/0030-Display-whole-multibyte-character.patch
];
postPatch = ''
if [ ! stdenv.isDarwin ]; then echo "#define USG" >> local.h; fi
cat >> local.h <<EOF
#define USG
#define TERMLIB "-lncurses"
#define LANGUAGES "{american,MASTERDICTS=american.med,HASHFILES=americanmed.hash}"
#define MASTERHASH "americanmed.hash"