summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorgutteridge <gutteridge@pkgsrc.org>2020-04-17 05:39:55 +0000
committergutteridge <gutteridge@pkgsrc.org>2020-04-17 05:39:55 +0000
commit57b7bb323fbce73f1277905ef7d531ed22493d78 (patch)
treea3c3d144951b4e7d4a672029f5c557cce253f5e4 /textproc
parent46e64fa1bef446392de864250b18d9fc089f1b1b (diff)
downloadpkgsrc-57b7bb323fbce73f1277905ef7d531ed22493d78.tar.gz
ispell-en_GB: fix SunOS build
Diffstat (limited to 'textproc')
-rw-r--r--textproc/ispell-en_GB/Makefile5
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