Mark Millard <[email protected]> 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 ;-(
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "[email protected]"