From: Rafael Sadowski Subject: Re: clang.port.mk: fix detection of clang-scan-deps To: ports@openbsd.org, phessler@openbsd.org, Theo Buehler Date: Thu, 9 Jul 2026 07:14:26 +0200 On Wed Jul 08, 2026 at 11:26:02PM +0200, Jeremie Courreges-Anglas wrote: > On Wed, Jul 08, 2026 at 11:15:19PM +0200, Jeremie Courreges-Anglas wrote: > > Instead, do you know of any cmake magic that would > > silence those rather pointless warnings? > > This would be a way to disable the warnings. But I'm not sure we want > that either... > No, that just hides the real issues, as Stuart already said. > > Index: cmake.port.mk > =================================================================== > RCS file: /cvs/ports/devel/cmake/cmake.port.mk,v > diff -u -p -r1.92 cmake.port.mk > --- cmake.port.mk 6 Jul 2026 09:22:29 -0000 1.92 > +++ cmake.port.mk 8 Jul 2026 21:24:10 -0000 > @@ -13,6 +13,8 @@ CONFIGURE_ENV += MODCMAKE_USE_SHARED_LIB > MAKE_ENV += MODCMAKE_USE_SHARED_LIBS=yes > .endif > > +CONFIGURE_ARGS += --no-warn-unused-cli > + > USE_NINJA ?= Yes > > .if ${USE_NINJA:L} == "yes" > > > -- > jca