aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/sendmail/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index 3add9920921f..ec623b671edc 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -128,7 +128,7 @@ OPENLDAP_LIB?= libldap.so.2
BUILD_DEPENDS+= ${LOCALBASE}/lib/${OPENLDAP_LIB}:${PORTSDIR}/${LDAP_PORT}
RUN_DEPENDS+= ${LOCALBASE}/lib/${OPENLDAP_LIB}:${PORTSDIR}/${LDAP_PORT}
.else
-USE_OPENLDAP_VER?= 22
+USE_OPENLDAP= yes
.endif
.else
CONFLICTS+= sendmail*+ldap*-8.*
@@ -293,6 +293,14 @@ do-configure:
'APPENDDEF(`confENVDEF'\'', `-DSM_CONF_SHM=0'\'')' \
>> ${WCONF}/site.config.m4
.endif
+.if defined(PARALLEL_PACKAGE_BUILD) || defined(BATCH)
+ ${ECHO_CMD} \
+ 'define(`confNO_HELPFILE_INSTALL'\'',`True'\'')' \
+ >> ${WCONF}/site.config.m4
+ ${ECHO_CMD} \
+ 'define(`confNO_STATISTICS_INSTALL'\'', `True'\'')' \
+ >> ${WCONF}/site.config.m4
+.endif
post-build:
( cd ${WRKSRC}/doc/op && ${MAKE} op.txt )