aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-06-02 01:59:22 +0800
committerwill <will@FreeBSD.org>2000-06-02 01:59:22 +0800
commit421aebfaee86c4623508a624f9801221555b8c13 (patch)
tree6b733132403377ae382d8700e24f027c7c2a5b30 /mail
parentf7898591d5a34f949381727014422df651873ec5 (diff)
downloadfreebsd-ports-graphics-421aebfaee86c4623508a624f9801221555b8c13.tar.gz
freebsd-ports-graphics-421aebfaee86c4623508a624f9801221555b8c13.tar.zst
freebsd-ports-graphics-421aebfaee86c4623508a624f9801221555b8c13.zip
Add support for building with SSL support on pre-4.0ish systems, if the
appropriate libraries are available. Submitted by: asmodai Approved by: maintainer
Diffstat (limited to 'mail')
-rw-r--r--mail/fetchmail/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile
index 8b2635af0b0..dbbcfbc9970 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)