From d2873b7f7d9f3fe9d982a19b1b5836063ce5728d Mon Sep 17 00:00:00 2001 From: Will Andrews Date: Thu, 1 Jun 2000 17:59:22 +0000 Subject: [PATCH] Add support for building with SSL support on pre-4.0ish systems, if the appropriate libraries are available. Submitted by: asmodai Approved by: maintainer --- mail/fetchmail/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile index 8b2635af0b0d..dbbcfbc99702 100644 --- a/mail/fetchmail/Makefile +++ b/mail/fetchmail/Makefile @@ -34,6 +34,8 @@ CONFIGURE_ARGS+=--enable-inet6 .if exists(/usr/lib/libssl.a) && exists(/usr/lib/libcrypto.a) CONFIGURE_ARGS+=--with-ssl=/usr .endif +.else if exists(${LOCALBASE}/lib/libssl.a) && exists(${LOCALBASE}/lib/libcrypto.a) +CONFIGURE_ARGS+=-with-includes=${LOCALBASE}/include/openssl --with-ssl=${LOCALBASE} .endif .if exists(/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4)