summaryrefslogtreecommitdiffstats
path: root/mail/mutt-devel/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-05-10 11:38:52 +0000
committerkrion <krion@FreeBSD.org>2004-05-10 11:38:52 +0000
commit55ee56b60f44c487c0197872b1ec9b86a50e5d74 (patch)
tree1e09b3b1cac7cc84f194e3ab59c88973eb93660e /mail/mutt-devel/Makefile
parent5aaf3bfa81450ba1203aeed19c08896e304dccb0 (diff)
downloadFreeBSD-ports-55ee56b60f44c487c0197872b1ec9b86a50e5d74.zip
FreeBSD-ports-55ee56b60f44c487c0197872b1ec9b86a50e5d74.tar.gz
- Fix mutt's tmp-file-naming to fix syntax highlightning for
the vim editor. - Add the WITHOUT_MUTT_ICONV knob and add dependency on iconv if that knob is not defined. PR: ports/66444 Submitted by: maintainer
Diffstat (limited to 'mail/mutt-devel/Makefile')
-rw-r--r--mail/mutt-devel/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
index 7731c6b..ad20670 100644
--- a/mail/mutt-devel/Makefile
+++ b/mail/mutt-devel/Makefile
@@ -37,6 +37,9 @@
# WITH_MUTT_COMPRESSED_FOLDERS
# This is a default knob and can be disabled by WITHOUT_MUTT_COMPRESSED_FOLDERS
#
+# If you do not want mutt to use the iconv library define:
+# WITHOUT_MUTT_ICONV
+#
# If you want to enable extended quoting functions define:
# WITH_MUTT_QUOTE_PATCH
# This is a default knob and can be disabled by WITHOUT_MUTT_QUOTE_PATCH
@@ -113,7 +116,7 @@ CONFIGURE_ENV= CC="${CC} -I${LOCALBASE}/include" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --enable-flock --disable-fcntl --with-ssl=${OPENSSLBASE} \
--with-sharedir=${PREFIX}/share/mutt --with-docdir=${DOCSDIR} \
--sysconfdir=${PREFIX}/etc --enable-external-dotlock \
- --with-libiconv-prefix=${PREFIX} --enable-pop --enable-imap
+ --enable-pop --enable-imap
.if defined(MUTT_CONFIGURE_ARGS)
CONFIGURE_ARGS+= ${MUTT_CONFIGURE_ARGS}
.endif
@@ -184,6 +187,9 @@ SGML_USED= no
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
.endif
+.if !defined(WITHOUT_MUTT_ICONV)
+USE_ICONV= yes
+.endif
.if defined(NOPORTDOCS)
SGML_USED= no
@@ -240,6 +246,11 @@ CONFIGURE_ARGS+= --with-sasl=${LOCALBASE}
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
.endif
+.if defined(WITHOUT_MUTT_ICONV)
+CONFIGURE_ARGS+= --disable-iconv
+.else
+CONFIGURE_ARGS+= --with-libiconv-prefix=${PREFIX}
+.endif
PATCH_DIST_STRIP= -p1
OpenPOWER on IntegriCloud