aboutsummaryrefslogtreecommitdiffstats
path: root/security/cyrus-sasl2-saslauthd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/cyrus-sasl2-saslauthd/Makefile')
-rw-r--r--security/cyrus-sasl2-saslauthd/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/security/cyrus-sasl2-saslauthd/Makefile b/security/cyrus-sasl2-saslauthd/Makefile
index 85bd9c9cc8ad..fb824465422a 100644
--- a/security/cyrus-sasl2-saslauthd/Makefile
+++ b/security/cyrus-sasl2-saslauthd/Makefile
@@ -40,7 +40,6 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \
--enable-static \
--enable-login \
--enable-auth-sasldb \
- --with-openssl=${OPENSSLBASE} \
--with-rc4=openssl \
--with-saslauthd=${SASLAUTHD_RUNPATH}
@@ -106,6 +105,12 @@ CONFIGURE_ARGS+=--enable-krb4=${LOCALBASE}/krb4
CONFIGURE_ARGS+=--disable-krb4
.endif
+.if ${OPENSSLBASE} == /usr
+CONFIGURE_ARGS+=--with-openssl=yes
+.else
+CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE}
+.endif
+
CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} \
OPENSSLINC=${OPENSSLINC} \
OPENSSLLIB=${OPENSSLLIB} \