summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/fetchmail/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile
index 8b2635a..dbbcfbc 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)
OpenPOWER on IntegriCloud