ports/textproc/ispell/patches/patch-local_h_bsd

27 lines
781 B
Text

Index: local.h.bsd
--- local.h.bsd.orig
+++ local.h.bsd
@@ -75,7 +75,7 @@
* store them in a different place).
*/
#define BINDIR "/usr/local/bin"
-#define LIBDIR "/usr/local/lib"
+#define LIBDIR "/usr/local/lib/ispell"
#define MAN1DIR "/usr/local/man/man1"
#define MAN45DIR "/usr/local/man/man5"
#define MAN45EXT ".5"
@@ -83,5 +83,14 @@
/*
* Place any locally-required #include statements here
*/
+
+#define WORDS "/usr/share/dict/words"
+
+#define LANGUAGES "{british,MASTERDICTS=british.xlg,HASHFILES=britishxlg.hash,EXTRADICT=} {american,MASTERDICTS=american.med+,HASHFILES=americanmed+.hash,EXTRADICT=/usr/share/dict/words}"
+
+#define MASTERHASH "britishxlg.hash"
+
+#define DEFHASH "default.hash"
+#define DEFLANG "default.aff"
#endif /* LOCAL_H_INCLUDED */