From f6aeb07bb8b0e2fe19e335b6fdd6e08c1c76f66d Mon Sep 17 00:00:00 2001 From: cjep Date: Fri, 10 Jan 2003 15:30:46 +0000 Subject: Compatibility with SunOS --- textproc/ispell-british/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'textproc') diff --git a/textproc/ispell-british/Makefile b/textproc/ispell-british/Makefile index eedc9cba958..93bcb3de768 100644 --- a/textproc/ispell-british/Makefile +++ b/textproc/ispell-british/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2001/04/15 21:22:15 agc Exp $ +# $NetBSD: Makefile,v 1.5 2003/01/10 15:30:46 cjep Exp $ # DISTNAME= ispell-3.1.20 @@ -20,6 +20,13 @@ DICT_LANG= british MAKE_FLAGS+= TMPDIR="${WRKDIR}" +.include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == "SunOS" +WORDS= /usr/dict/words +.else +WORDS= /usr/share/dict/words +.endif + do-configure: cd ${WRKSRC}; \ ${SED} -e 's|/usr/local|${PREFIX}|g' local.h; \ @@ -27,7 +34,7 @@ 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 "/usr/share/dict/words"' >> local.h ; \ + ${ECHO} '#define WORDS "${WORDS}"' >> local.h ; \ ${ECHO} '#undef ELISPDIR' >> local.h; \ ${ECHO} "#define ELISPDIR \"${PREFIX}/share/emacs/site-lisp\"" >> local.h -- cgit v1.2.3