svn commit: r363031 - in head: contrib/bmake contrib/bmake/lst.lib contrib/bmake/mk contrib/bmake/mk/sys contrib/bmake/unit-tests usr.bin/bmake (make now broken)
Simon J. Gerraty
sjg at juniper.net
Thu Jul 9 18:13:32 UTC 2020
Mark Millard <marklmi at yahoo.com> wrote:
> > though the one in ports is real issue:
> >
> > $ make config
> > make: "/usr/ports/Mk/bsd.port.mk" line 2096: warning: String comparison operator should be either == or !=
> > make: "/usr/ports/Mk/bsd.port.mk" line 2096: Malformed conditional (defined(MAKE_JOBS_NUMBER_LIMIT) && ( ${MAKE_JOBS_NUMBER_LIMIT} < ${_MAKE_JOBS_NUMBER} ))
The above should be equivalent to
V42 = 42
.if defined(V69) && ( ${V69} < ${V42} )
.endif
which in a unit-test works just fine.
Same goes for the warnings in bsd.compiler.mk ;-(
More information about the freebsd-toolchain
mailing list