aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mutt
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mutt')
-rw-r--r--mail/mutt/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile
index fd79185626b0..6774cf902134 100644
--- a/mail/mutt/Makefile
+++ b/mail/mutt/Makefile
@@ -58,8 +58,10 @@ CONFIGURE_TARGET=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CC="${CC} -I${LOCALBASE}/include" LDFLAGS=-L${LOCALBASE}/lib
CONFIGURE_ARGS= --enable-pop --enable-imap --enable-flock --disable-fcntl \
--with-sharedir=${PREFIX}/share/mutt \
- --with-docdir=${PREFIX}/share/doc/mutt --with-charmaps \
- --enable-locales-fix
+ --with-docdir=${PREFIX}/share/doc/mutt --with-charmaps
+.if defined(WITH_LOCALES_FIX)
+CONFIGURE_ARGS+= --enable-locales-fix
+.endif
.if defined(BATCH) || defined(WITH_SLANG)
CONFIGURE_ARGS+= --with-slang=${PREFIX}
.elif defined(WITH_NCURSES_PORT)