summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-05-08 05:30:30 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-05-08 05:30:30 +0000
commit1e2791590877584c3c4132a3eae2be36bbbb51b4 (patch)
treea3f1b1bc82fc4e469ed7065b95eb524269c18b8d
parentUpgrade to 5.50 (diff)
Allow suck build with SSL in the base if its new enouth,
otherwise build latest from ports.
Notes
Notes: svn path=/head/; revision=58688
-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