git: 2f9bf53fdd2d - main - irc/thales: always build hybrid

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Mon, 04 Jul 2022 07:01:47 UTC
The branch main has been updated by tcberner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2f9bf53fdd2d5246847e6e096bdef3a8d2d72e38

commit 2f9bf53fdd2d5246847e6e096bdef3a8d2d72e38
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2022-07-04 06:58:58 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2022-07-04 07:01:10 +0000

    irc/thales: always build hybrid
    
    This should fix the
       > Please enter a valid option number
    creating GBs of logfiles on the builders.
    
    Reported by:    philip
---
 irc/thales/Makefile | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/irc/thales/Makefile b/irc/thales/Makefile
index ca01246109e3..9bb3c3c8b714 100644
--- a/irc/thales/Makefile
+++ b/irc/thales/Makefile
@@ -12,28 +12,23 @@ COMMENT=	IRC to MySQL gateway
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BROKEN=		endless loop during configure
+RUN_DEPENDS=	${LOCALBASE}/bin/ircd:irc/ircd-hybrid
 
 USES=		gmake mysql shebangfix
 SHEBANG_FILES=	examples/MRTG/thalesinfo.pl
 USE_RC_SUBR=	thales
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-ircd=${_IRCD} \
+CONFIGURE_ARGS=	--with-ircd=hybrid \
 		--prefix=${PREFIX}/sbin/thales \
 		--with-mysql=${LOCALBASE} \
 		--with-mysql-libraries=${LOCALBASE}/lib/mysql
 
 OPTIONS_DEFINE=	MODES DOCS EXAMPLES
-OPTIONS_RADIO=	IRCD
-OPTIONS_RADIO_IRCD=	HYBRID
 OPTIONS_DEFAULT=MODES
 MODES_DESC=		Support modes in the database
-HYBRID_DESC=	Build for ircd-hybrid
 
 MODES_CONFIGURE_OFF=	--enable-no-modes
-HYBRID_RUN_DEPENDS=	${LOCALBASE}/bin/ircd:irc/ircd-hybrid
-HYBRID_VARS=		_IRCD=hybrid IS_INTERACTIVE=yes
 
 post-patch: .SILENT
 	${FIND} -d ${WRKSRC} -type d -name CVS -exec ${RM} -r {} \;