aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mutt
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-05-24 00:36:59 +0800
committerobrien <obrien@FreeBSD.org>2000-05-24 00:36:59 +0800
commit3919a7848e272e908617f4b66ddf94116f831047 (patch)
treea154a06d7df2a13f5805eb0a17fe6659e5464314 /mail/mutt
parentad709b6dc706096de6f73d0d20e9304fca68abf9 (diff)
downloadfreebsd-ports-gnome-3919a7848e272e908617f4b66ddf94116f831047.tar.gz
freebsd-ports-gnome-3919a7848e272e908617f4b66ddf94116f831047.tar.zst
freebsd-ports-gnome-3919a7848e272e908617f4b66ddf94116f831047.zip
Only configure for locales-fix if "WITH_LOCALES_FIX" is defined.
ache reports that configuring for locales-fix breaks non-ja/zh locales badly. Submitted by: ache
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)