Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jul 2020 09:56:50 -0700
From:      "Simon J. Gerraty" <sjg@juniper.net>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        Yuri Pankov <yuripv@yuripv.dev>, <svn-src-head@FreeBSD.org>, FreeBSD Toolchain <freebsd-toolchain@FreeBSD.org>, FreeBSD Current <freebsd-current@FreeBSD.org>, <sjg@juniper.net>
Subject:   Re: 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)
Message-ID:  <68939.1594313810@kaos.jnpr.net>
In-Reply-To: <8969386C-D964-4597-BE7E-6A2D215D801C@yahoo.com>
References:  <CCB7E15F-98CE-492A-94D1-CE8964E8363E.ref@yahoo.com> <CCB7E15F-98CE-492A-94D1-CE8964E8363E@yahoo.com> <25afe2ff-e805-8415-ddd9-430cfa271e16@yuripv.dev> <8969386C-D964-4597-BE7E-6A2D215D801C@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Mark Millard <marklmi@yahoo.com> wrote:
> > though the one in ports is real issue:
> >
> > $ make config
> > make: "/usr/ports/Mk/bsd.port.mk" line 2096: warning: String compariso=
n operator should be either =3D=3D or !=3D
> > make: "/usr/ports/Mk/bsd.port.mk" line 2096: Malformed conditional (de=
fined(MAKE_JOBS_NUMBER_LIMIT) && ( ${MAKE_JOBS_NUMBER_LIMIT} < ${_MAKE_JOB=
S_NUMBER} ))

The above should be equivalent to

V42 =3D 42
.if defined(V69) && ( ${V69} < ${V42} )
.endif

which in a unit-test works just fine.
Same goes for the warnings in bsd.compiler.mk ;-(



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?68939.1594313810>