diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2020-08-31 08:53:00 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2020-08-31 08:53:00 +0000 |
commit | e30e6bd319f66492f2c0ad9dc01c4972cc2e86f0 (patch) | |
tree | 2f23b18e303bf94551105c1be721867f51e514a1 /irc | |
parent | 7fa17f420f2860a5cd1a0ee714807cf74c18b9bf (diff) | |
download | freebsd-ports-e30e6bd319f66492f2c0ad9dc01c4972cc2e86f0.zip |
Allow to build against contemporary versions of OpenSSL.
PR: 244473 (modified)
Diffstat (limited to 'irc')
-rw-r--r-- | irc/ircproxy/Makefile | 11 |
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 |