git: bdfb6aecac70 - main - lang/mono6.8: Fix build with ninja

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Tue, 08 Aug 2023 07:25:34 UTC
The branch main has been updated by fernape:

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

commit bdfb6aecac70d7811b4ccbe7f79206c9e206ac9f
Author:     Marcin Cieślak <saper@saper.info>
AuthorDate: 2023-08-07 06:21:45 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-08-08 07:25:20 +0000

    lang/mono6.8: Fix build with ninja
    
    Downgraded USES=autoreconf:2.69 to reduce the amount of warnings.
    There is no need to invoke autogen.sh after running autoreconf.
    
    PR:             272986
    Reported by:    saper@saper.info (maintainer)
---
 lang/mono6.8/Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/lang/mono6.8/Makefile b/lang/mono6.8/Makefile
index 82437a3ef30f..d477f74f20f4 100644
--- a/lang/mono6.8/Makefile
+++ b/lang/mono6.8/Makefile
@@ -26,11 +26,10 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} \
 
 CONFLICTS_INSTALL=	certmgr coin-or-disco disco mono mono[0-9]*
 
-USES=	autoreconf bison compiler:c11 cpe gmake iconv libtool localbase \
+USES=	autoreconf:2.69 bison compiler:c11 cpe gmake iconv libtool localbase \
 	pathfix perl5 python shebangfix tar:xz
 USE_PERL5=	build
 
-CONFIGURE_SCRIPT=	autogen.sh
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 
@@ -80,7 +79,7 @@ MONODEV_DESC=	Build for Mono development (disables crash privacy)
 MONODEV_CONFIGURE_ON=	--enable-icall-symbol-map --enable-icall-export --with-crash_privacy=no
 
 NINJA_DESC=	Use ninja to build wherever possible
-NINJA_CONFIGURE_ON=	ninja
+NINJA_CONFIGURE_ON=	--enable-ninja
 NINJA_USES=	ninja:build
 
 NLS_DESC=	NLS Localization Support