aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim <jim@FreeBSD.org>2001-07-26 15:45:44 +0800
committerjim <jim@FreeBSD.org>2001-07-26 15:45:44 +0800
commit203305bda8f00ce6a165b92a00877f9e803d0978 (patch)
treec3fb2053a044da5cbdb3ad01bfb4346ed1d182c4
parentb9a1d23b797a53fb40c76c264528ccd28a310141 (diff)
downloadfreebsd-ports-graphics-203305bda8f00ce6a165b92a00877f9e803d0978.tar.gz
freebsd-ports-graphics-203305bda8f00ce6a165b92a00877f9e803d0978.tar.zst
freebsd-ports-graphics-203305bda8f00ce6a165b92a00877f9e803d0978.zip
Add three new hooks...
* WITH_MUTT_POP * WITH_MUTT_IMAP * WITH_MUTT_POP_IMAP They replace the --enable-pop and --enable-imap options that were the defaults. Now you have the choice to build with one or the other, both, or neither (which is useful for those of us who don't need those features). Bump PORTREVISION. Approved by: maintainer
-rw-r--r--mail/mutt-devel/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
index 9891fd9e64b..0246a582695 100644
--- a/mail/mutt-devel/Makefile
+++ b/mail/mutt-devel/Makefile
@@ -8,6 +8,7 @@
PORTNAME= mutt-devel
PORTVERSION= 1.3.20
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ftp://ftp.demon.co.uk/pub/mirrors/mutt/devel/ \
ftp://ftp.parodius.com/pub/mutt/devel/
@@ -19,7 +20,7 @@ MAINTAINER= ust@cert.siemens.de
DIST_SUBDIR= mutt
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-pop --enable-imap --enable-flock --disable-fcntl \
+CONFIGURE_ARGS= --enable-flock --disable-fcntl \
--with-sharedir=${PREFIX}/share/mutt \
--with-docdir=${PREFIX}/share/doc/mutt \
--sysconfdir=${PREFIX}/etc \
@@ -78,6 +79,15 @@ CONFIGURE_ARGS+= --with-curses=${PREFIX}
.if defined(WITH_MUTT_SSL)
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE}
.endif
+.if defined(WITH_MUTT_POP)
+CONFIGURE_ARGS+= --enable-pop
+.endif
+.if defined(WITH_MUTT_IMAP)
+CONFIGURE_ARGS+= --enable-imap
+.endif
+.if defined(WITH_MUTT_POP_IMAP)
+CONFIGURE_ARGS+= --enable-pop --enable-imap
+.endif
PATCH_DIST_STRIP= -p1