Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/ispell-en_GB ispell-en_GB: fix SunOS build
details: https://anonhg.NetBSD.org/pkgsrc/rev/fbba058ea132
branches: trunk
changeset: 429173:fbba058ea132
user: gutteridge <gutteridge%pkgsrc.org@localhost>
date: Fri Apr 17 05:39:55 2020 +0000
description:
ispell-en_GB: fix SunOS build
diffstat:
textproc/ispell-en_GB/Makefile | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 844db17f2e6d -r fbba058ea132 textproc/ispell-en_GB/Makefile
--- a/textproc/ispell-en_GB/Makefile Fri Apr 17 02:00:52 2020 +0000
+++ b/textproc/ispell-en_GB/Makefile Fri Apr 17 05:39:55 2020 +0000
@@ -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 @@
${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
Home |
Main Index |
Thread Index |
Old Index