diff options
author | gutteridge <gutteridge@pkgsrc.org> | 2020-04-17 05:39:55 +0000 |
---|---|---|
committer | gutteridge <gutteridge@pkgsrc.org> | 2020-04-17 05:39:55 +0000 |
commit | 57b7bb323fbce73f1277905ef7d531ed22493d78 (patch) | |
tree | a3c3d144951b4e7d4a672029f5c557cce253f5e4 /textproc | |
parent | 46e64fa1bef446392de864250b18d9fc089f1b1b (diff) | |
download | pkgsrc-57b7bb323fbce73f1277905ef7d531ed22493d78.tar.gz |
ispell-en_GB: fix SunOS build
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/ispell-en_GB/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/textproc/ispell-en_GB/Makefile b/textproc/ispell-en_GB/Makefile index d100dd86cf7..576f2880cbb 100644 --- a/textproc/ispell-en_GB/Makefile +++ b/textproc/ispell-en_GB/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2016/02/26 10:32:47 jperkin Exp $ +# $NetBSD: Makefile,v 1.7 2020/04/17 05:39:55 gutteridge Exp $ # DISTNAME= ispell-3.4.00 @@ -35,7 +35,8 @@ do-configure: ${ECHO} "#define LANGUAGES \"{${DICT_LANG},MASTERDICTS=${DICT_LANG}.xlg,HASHFILES=${DICT_LANG}xlg.hash,EXTRADICT=}\"" >>local.h; \ ${ECHO} '#define MASTERHASH "${DICT_LANG}xlg.hash"' >> local.h ; \ ${ECHO} "#undef WORDS" >> local.h ; \ - ${ECHO} '#define WORDS "${WORDS}"' >> local.h + ${ECHO} '#define WORDS "${WORDS}"' >> local.h ; \ + ${ECHO} '#ifdef __sun\n#include<sys/types.h>\n#include<sys/dirent.h>\n#define USG 1\n#endif' >> local.h do-install: ${CP} ${WRKSRC}/languages/${DICT_LANG}/${DICT_LANG}xlg.hash ${DESTDIR}${PREFIX}/lib |