summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/courier-imap/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile
index f7e2f7b96a26..a401c7bb1833 100644
--- a/mail/courier-imap/Makefile
+++ b/mail/courier-imap/Makefile
@@ -46,6 +46,7 @@ CONFIGURE_ENV= CFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
# WITH_DRAC: Build in DRAC support
# WITH_TRASHQUOTA: Include deleted mails in the quota
# WITH_GDBM: Use gdbm files instead of bdb
+# WITHOUT_IPV6 Don't build ipv6 support
#
CONFDIR?= ${PREFIX}/etc/${PORTNAME}
@@ -86,6 +87,10 @@ PLIST_SUB+= OPENSSLFLAG=
PLIST_SUB+= OPENSSLFLAG="@comment "
.endif
+.if defined(WITHOUT_IPV6)
+CONFIGURE_ARGS+=--without-ipv6
+.endif
+
.if defined(WITH_TRASHQUOTA)
CONFIGURE_ARGS+=--with-trashquota
.endif