summaryrefslogtreecommitdiff
path: root/russian
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2005-05-30 11:24:31 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2005-05-30 11:24:31 +0000
commit55e4bc3d9b276f32ae8946114f0ecee1a1ca779f (patch)
treef86010015e061184a7d331ca235732c5e5ae8e7c /russian
parentReally build with sendfile(2) support (fix "CFLAGS from make.conf (diff)
- Match the reality of bogofilter 0.94.13.
- Deprecate this subport in favor of Unicode support in bogofilter.
Notes
Notes: svn path=/head/; revision=136420
Diffstat (limited to 'russian')
-rw-r--r--russian/bogofilter/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/russian/bogofilter/Makefile b/russian/bogofilter/Makefile
index 684353188761..a7354c275c6b 100644
--- a/russian/bogofilter/Makefile
+++ b/russian/bogofilter/Makefile
@@ -9,11 +9,15 @@ CATEGORIES= russian mail
MAINTAINER= yar@freebsd.org
-BROKEN= The support for KOI8-R wordlist storage is broken in bogofilter >=0.94.x
+DEPRECATED= mail/bogofilter provides Unicode support through WITH_ICONV
CONFLICTS= bogofilter-[0-9]* bogofilter-tdb-[0-9]* bogofilter-qdbm-[0-9]* bogofilter-sqlite-[0-9]*
-CFLAGS+= -DWINDOWS_1251_to_CYRILLIC
+# bogofilter does CP1251->KOI8-R conversion by default since 0.94.13.
+# WITH_CP866 tells bogofilter to map KOI8-R, CP1251, and ISO-8859-5 to CP866.
+.if defined(WITH_CP866)
+CONFIGURE_ARGS+= --enable-russian
+.endif
MASTERDIR= ${.CURDIR}/../../mail/bogofilter