summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--irc/ircproxy/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/irc/ircproxy/Makefile b/irc/ircproxy/Makefile
index 43525dd08ee6..8148490503d8 100644
--- a/irc/ircproxy/Makefile
+++ b/irc/ircproxy/Makefile
@@ -37,6 +37,13 @@ IPV6_CONFIGURE_ENABLE= ipv6
SSL_CONFIGURE_ENABLE= ssl
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
@@ -44,4 +51,4 @@ post-patch:
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/imkpasswd ${STAGEDIR}${PREFIX}/bin/ircproxyd
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>