aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--news/suck/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/news/suck/Makefile b/news/suck/Makefile
index 8a3c01ebfad8..51691083a12f 100644
--- a/news/suck/Makefile
+++ b/news/suck/Makefile
@@ -35,10 +35,10 @@ BUILD_DEPENDS+= ${LOCALBASE}/news/lib/libinn.a:${PORTSDIR}/news/inn
.if defined(SUCK_WITH_SSL) || defined(WITH_SSL)
USE_OPENSSL= yes
-.if ${OSVERSION} < 430000
+.if ${OSVERSION} < 430000 || exists(${LOCALBASE}/lib/libcrypto.so.3)
OPENSSLBASE= /usr/local
OPENSSLDIR= ${OPENSSLBASE}/openssl
-LIB_DEPENDS+= ssl.3:${PORTSDIR}/security/openssl
+LIB_DEPENDS+= crypto.3:${PORTSDIR}/security/openssl
OPENSSLLIB= ${OPENSSLBASE}/lib
OPENSSLINC= ${OPENSSLBASE}/include
.endif