aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2014-05-26 07:30:49 +0800
committerbdrewery <bdrewery@FreeBSD.org>2014-05-26 07:30:49 +0800
commitb27616f5ccff25a6ee0b29b514e51bf7437ac901 (patch)
tree943673d4334631b30d7845d6b4dbd8ae56cb0e27
parentb2dcceeaa2c94f360b97381d62b973265f5b9101 (diff)
downloadfreebsd-ports-gnome-b27616f5ccff25a6ee0b29b514e51bf7437ac901.tar.gz
freebsd-ports-gnome-b27616f5ccff25a6ee0b29b514e51bf7437ac901.tar.zst
freebsd-ports-gnome-b27616f5ccff25a6ee0b29b514e51bf7437ac901.zip
- Scale FD_SETSIZE with WITH_BIG_CONCURRENCY_PATCH_CONCURRENCY_LIMIT
Submitted by: Joe Schaefer <joe_schaefer@yahoo.com>
-rw-r--r--mail/qmail/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/qmail/Makefile b/mail/qmail/Makefile
index f63787406fd6..bd9e4ecd033d 100644
--- a/mail/qmail/Makefile
+++ b/mail/qmail/Makefile
@@ -3,7 +3,7 @@
PORTNAME= qmail
PORTVERSION?= ${QMAIL_VERSION}
-PORTREVISION?= 10
+PORTREVISION?= 11
CATEGORIES= mail
MASTER_SITES+= ${MASTER_SITE_QMAIL}
DISTNAME= ${PORTNAME}-${QMAIL_VERSION}
@@ -594,6 +594,7 @@ UCSPISRC= ${WRKDIR}/host/superscript.com/net/ucspi-ssl-0.70
# Some default values, these can be modified by make command line
.if ${PORT_OPTIONS:MBIG_CONCURRENCY_PATCH}
WITH_BIG_CONCURRENCY_PATCH_CONCURRENCY_LIMIT?= 509
+CFLAGS+= -DFD_SETSIZE=`expr 2 \* ${WITH_BIG_CONCURRENCY_PATCH_CONCURRENCY_LIMIT} + 6`
.endif
.if ${PORT_OPTIONS:MRCDLINK} && !defined(SLAVE_LDAP)