openbsd-ports/textproc/ispell/patches/patch-local.h.samp
2002-01-24 11:20:17 +00:00

32 lines
1.1 KiB
Plaintext

--- local.h.samp.orig Mon Jan 21 11:54:21 2002
+++ local.h.samp Mon Jan 21 13:27:15 2002
@@ -105,7 +105,7 @@
*/
#define MINIMENU /* Display a mini-menu at the bottom of the screen */
-#define NO8BIT /* Remove this if you use ISO character sets */
+#undef NO8BIT /* Remove this if you use ISO character sets */
#undef USG /* Define on System V or if term.c won't compile */
#undef NO_FCNTL_H /* Define if you get compile errors on fcntl.h */
#undef NO_MKSTEMP /* Define if you get compile or link errors */
@@ -114,10 +114,18 @@
* Important directory paths
*/
#define BINDIR "/usr/local/bin"
-#define LIBDIR "/usr/local/lib"
+#define LIBDIR "/usr/local/lib/ispell"
#define MAN1DIR "/usr/local/man/man1"
#define MAN4DIR "/usr/local/man/man4"
/*
* 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"