pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/ispell-en_GB



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Fri Apr 17 05:39:55 UTC 2020

Modified Files:
        pkgsrc/textproc/ispell-en_GB: Makefile

Log Message:
ispell-en_GB: fix SunOS build


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/textproc/ispell-en_GB/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/ispell-en_GB/Makefile
diff -u pkgsrc/textproc/ispell-en_GB/Makefile:1.6 pkgsrc/textproc/ispell-en_GB/Makefile:1.7
--- pkgsrc/textproc/ispell-en_GB/Makefile:1.6   Fri Feb 26 10:32:47 2016
+++ pkgsrc/textproc/ispell-en_GB/Makefile       Fri Apr 17 05:39:55 2020
@@ -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



Home | Main Index | Thread Index | Old Index