aboutsummaryrefslogtreecommitdiffstats
path: root/mail/qmail/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/qmail/Makefile')
-rw-r--r--mail/qmail/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/mail/qmail/Makefile b/mail/qmail/Makefile
index b3bdef8407e9..8e928974238a 100644
--- a/mail/qmail/Makefile
+++ b/mail/qmail/Makefile
@@ -11,7 +11,7 @@ DISTFILES?= ${DISTNAME}${EXTRACT_SUFX}
EXTRACT_ONLY?= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER?= bdrewery@FreeBSD.org
-COMMENT?= A secure, reliable, efficient, simple, and fast MTA
+COMMENT?= Secure, reliable, efficient, simple, and fast MTA
DIST_SUBDIR= qmail
@@ -334,6 +334,12 @@ CONFIGURESCRIPTS= config config-fast
WANT_QMAIL= yes
+.include <bsd.port.options.mk>
+
+.if defined(SLAVE_LDAP) && ${PORT_OPTIONS:MTLS}
+USE_OPENSSL= yes
+.endif
+
.include <bsd.port.pre.mk>
.if ${PREFIX} != ${LOCALBASE}
@@ -359,11 +365,6 @@ CFLAGS+= -DDEBUG
.if defined(SLAVE_LDAP)
-. if ${PORT_OPTIONS:MTLS}
-# we can't use USE_OPENSSL=yes after including bsd.port.pre.mk
-.include "${PORTSDIR}/Mk/bsd.openssl.mk"
-. endif
-
. for param in ${LDAP_PARAMS}
. if ${PORT_OPTIONS:M${param}}
LDAPFLAGS+= -D${param}