mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
Fix build with openssl-devel, remove BROKEN_SSL.
Approved by: (blanket approval for unbreaking builds)
This commit is contained in:
parent
e00f1f043f
commit
9c9c191d6e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=469628
@ -14,8 +14,6 @@ COMMENT= Batch mail retrieval utility for IMAP/POP3/ETRN/ODMR
|
||||
LICENSE= GPLv2 LGPL21
|
||||
LICENSE_COMB= dual
|
||||
|
||||
BROKEN_SSL= openssl-devel
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
|
||||
|
||||
USERS= ${PORTNAME}
|
||||
|
@ -5,7 +5,7 @@
|
||||
if(myproto) {
|
||||
if(!strcasecmp("ssl2",myproto)) {
|
||||
-#if HAVE_DECL_SSLV2_CLIENT_METHOD + 0 > 0
|
||||
+#ifndef OPENSSL_NO_SSL2
|
||||
+#if (HAVE_DECL_SSLV2_CLIENT_METHOD + 0 > 0) && !defined(OPENSSL_NO_SSL2)
|
||||
_ctx[sock] = SSL_CTX_new(SSLv2_client_method());
|
||||
#else
|
||||
- report(stderr, GT_("Your operating system does not support SSLv2.\n"));
|
||||
|
Loading…
Reference in New Issue
Block a user