aboutsummaryrefslogtreecommitdiffstats
path: root/security/cyrus-sasl2-saslauthd
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2004-11-28 15:09:12 +0800
committerume <ume@FreeBSD.org>2004-11-28 15:09:12 +0800
commite14e459bda58e91caeed9d8da9c9809a4610edd8 (patch)
tree2b4e189ee084c80e841ddced94bad864550e1846 /security/cyrus-sasl2-saslauthd
parent9f9ad90bedc66c37e4acc63563f7efd045f78f0f (diff)
downloadfreebsd-ports-graphics-e14e459bda58e91caeed9d8da9c9809a4610edd8.tar.gz
freebsd-ports-graphics-e14e459bda58e91caeed9d8da9c9809a4610edd8.tar.zst
freebsd-ports-graphics-e14e459bda58e91caeed9d8da9c9809a4610edd8.zip
cyrus-sasl2-saslauthd couldn't be built with system OpenSSL and BDB42.
PR: ports/74463 Submitted by: NIIMI Satoshi <sa2c@sa2c.net>
Diffstat (limited to 'security/cyrus-sasl2-saslauthd')
-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 85bd9c9cc8a..fb824465422 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} \