Use explicit setup command to silence warning

$ make configure
	...
	Found ninja-1.11.1 at /usr/local/bin/ninja
	WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
	$

From meson(1):
	The setup command is the default operation. If no actual command is
	specified, Meson will assume you meant to do a setup. That means that
	you can set up a build directory without the setup command like this:

	meson [ options ] [ build directory ] [ source directory ]

OK aja
This commit is contained in:
kn 2023-01-08 14:55:55 +00:00
parent 41f81a419e
commit f7e5f48910
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ MODMESON_CONFIGURE_ARGS += ${_MODMESON_STRIP${DEBUG_PACKAGES}}
.if ${CONFIGURE_STYLE} == "meson"
CONFIGURE_ARGS += ${MODMESON_CONFIGURE_ARGS}
CONFIGURE_ENV += ${MODMESON_CONFIGURE_ENV}
MODMESON_configure= ${SETENV} ${CONFIGURE_ENV} ${LOCALBASE}/bin/meson \
MODMESON_configure= ${SETENV} ${CONFIGURE_ENV} ${LOCALBASE}/bin/meson setup \
${CONFIGURE_ARGS} ${WRKSRC} ${WRKBUILD}
. if !target(do-build)