aboutsummaryrefslogtreecommitdiff
path: root/irc/ircproxy
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2020-08-31 08:53:00 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2020-08-31 08:53:00 +0000
commite30e6bd319f66492f2c0ad9dc01c4972cc2e86f0 (patch)
tree2f23b18e303bf94551105c1be721867f51e514a1 /irc/ircproxy
parent7fa17f420f2860a5cd1a0ee714807cf74c18b9bf (diff)
downloadports-e30e6bd319f66492f2c0ad9dc01c4972cc2e86f0.tar.gz
ports-e30e6bd319f66492f2c0ad9dc01c4972cc2e86f0.zip
Allow to build against contemporary versions of OpenSSL.
PR: 244473 (modified)
Notes
Notes: svn path=/head/; revision=547156
Diffstat (limited to 'irc/ircproxy')
-rw-r--r--irc/ircproxy/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/irc/ircproxy/Makefile b/irc/ircproxy/Makefile
index 5fbfc5193f2c..e56690bcd43d 100644
--- a/irc/ircproxy/Makefile
+++ b/irc/ircproxy/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcares.so:dns/c-ares
-USES= tar:bzip2
+USES= autoreconf tar:bzip2
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib -lcrypto
CFLAGS+= -I${LOCALBASE}/include
@@ -39,14 +39,13 @@ SSL_USES= ssl
.include <bsd.port.pre.mk>
-.if ${SSL_DEFAULT} == base
-BROKEN_FreeBSD_12= gnutls library not found. Install gnutls or use --with-openssl
-BROKEN_FreeBSD_13= gnutls library not found. Install gnutls or use --with-openssl
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|EUSER="ircproxy"|EUSER="ircproxyd"|g; \
s|EGROUP="users"|EGROUP="ircproxyd"|g' ${WRKSRC}/data/${PORTNAME}d.conf
+.if ${OSVERSION} > 1200084
+ @${REINPLACE_CMD} -e '/gnutls/!s,SSL_library_init,OPENSSL_init_ssl,' \
+ ${WRKSRC}/configure.in
+.endif
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/imkpasswd ${STAGEDIR}${PREFIX}/bin/ircproxyd