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/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'security/cyrus-sasl2') diff --git a/security/cyrus-sasl2/Makefile b/security/cyrus-sasl2/Makefile index d8e5821e83bd..27c83af07acf 100644 --- a/security/cyrus-sasl2/Makefile +++ b/security/cyrus-sasl2/Makefile @@ -50,7 +50,6 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \ --mandir=${MANPREFIX}/man \ --enable-static \ --enable-auth-sasldb \ - --with-openssl=${OPENSSLBASE} \ --with-rc4=openssl \ --with-saslauthd=${SASLAUTHD_RUNPATH} @@ -188,6 +187,12 @@ CONFIGURE_ARGS+=--disable-krb4 EBONES= "@comment " .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