summaryrefslogtreecommitdiff
path: root/mail/mutt/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-01-13 15:32:20 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-01-13 15:32:20 +0000
commit233792da59dd49689c6ff7ebadf7d21f96332b33 (patch)
tree4df7b8108636beacf3987a5fca28913211d03124 /mail/mutt/Makefile
parentUpdate MASTER_SITE and WWW (diff)
- Add WITHOUT_NLS knob
PR: 61312 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=98073
Diffstat (limited to 'mail/mutt/Makefile')
-rw-r--r--mail/mutt/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile
index 1b411e6a6327..710689eaa527 100644
--- a/mail/mutt/Makefile
+++ b/mail/mutt/Makefile
@@ -39,7 +39,9 @@ RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell \
WITH_SGML_DOCS?=yes
.endif
+.if !defined(WITHOUT_NLS)
LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext
+.endif
.if defined(WITH_SLANG)
LIB_DEPENDS+= slang.1:${PORTSDIR}/devel/libslang
.elif defined(WITH_NCURSES_PORT)
@@ -76,6 +78,12 @@ CONFIGURE_ARGS+= ${MUTT_CONFIGURE_ARGS}
.endif
.if defined(WITH_LOCALES_FIX)
CONFIGURE_ARGS+= --enable-locales-fix
+.endif
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.else
+PLIST_SUB+= NLS=""
.endif
.if defined(WITH_SLANG)
CONFIGURE_ARGS+= --with-slang=${PREFIX}