summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-05-23 16:36:59 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-05-23 16:36:59 +0000
commit0816a7fe3eab67064dfa803fc7712c632ad25fd8 (patch)
treed1c6b0132e540f5aeb57f35708a0623da3d459cd /mail
parentShared linking of -lintl (diff)
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
Notes
Notes: svn path=/head/; revision=28712
Diffstat (limited to 'mail')
-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)