summaryrefslogtreecommitdiff
path: root/mail/fetchmail
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-06-01 17:59:22 +0000
committerWill Andrews <will@FreeBSD.org>2000-06-01 17:59:22 +0000
commitd2873b7f7d9f3fe9d982a19b1b5836063ce5728d (patch)
treef230ffae4be0cdd1a2b5166f5332e6f1fddf0856 /mail/fetchmail
parentUpdate to 1.6. Add some more runtime dependencies. (diff)
Add support for building with SSL support on pre-4.0ish systems, if the
appropriate libraries are available. Submitted by: asmodai Approved by: maintainer
Notes
Notes: svn path=/head/; revision=29069
Diffstat (limited to 'mail/fetchmail')
-rw-r--r--mail/fetchmail/Makefile2
1 files changed, 2 insertions, 0 deletions
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)