Date: Mon, 31 Aug 2020 08:53:00 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r547156 - head/irc/ircproxy Message-ID: <202008310853.07V8r030068216@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Mon Aug 31 08:53:00 2020 New Revision: 547156 URL: https://svnweb.freebsd.org/changeset/ports/547156 Log: Allow to build against contemporary versions of OpenSSL. PR: 244473 (modified) Modified: head/irc/ircproxy/Makefile Modified: head/irc/ircproxy/Makefile ============================================================================== --- head/irc/ircproxy/Makefile Mon Aug 31 08:52:13 2020 (r547155) +++ head/irc/ircproxy/Makefile Mon Aug 31 08:53:00 2020 (r547156) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008310853.07V8r030068216>