aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/mutt-devel/Makefile6
-rw-r--r--mail/mutt/Makefile6
-rw-r--r--mail/mutt14/Makefile6
3 files changed, 12 insertions, 6 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
index fd79185626b0..6774cf902134 100644
--- a/mail/mutt-devel/Makefile
+++ b/mail/mutt-devel/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)
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)
diff --git a/mail/mutt14/Makefile b/mail/mutt14/Makefile
index fd79185626b0..6774cf902134 100644
--- a/mail/mutt14/Makefile
+++ b/mail/mutt14/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)