From e14e459bda58e91caeed9d8da9c9809a4610edd8 Mon Sep 17 00:00:00 2001 From: ume Date: Sun, 28 Nov 2004 07:09:12 +0000 Subject: cyrus-sasl2-saslauthd couldn't be built with system OpenSSL and BDB42. PR: ports/74463 Submitted by: NIIMI Satoshi --- security/cyrus-sasl2-saslauthd/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'security/cyrus-sasl2-saslauthd') 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} \ -- cgit