Fix for port-Makefiles
Mark Linimon
linimon at lonesome.com
Thu Jan 13 09:40:02 PST 2005
On Thu, 13 Jan 2005, R.Brouwer wrote:
> I regularly receive the error "warning: String comparison operator
> should be either == or !=" when I rebuild the ports-index.
> Or the error: Malformed conditional ((${OSVERSION} < 503001 &&
> ${OSVERSION} >= 500000) || (${OSVERSION} < 492000))
My guess is that you're running either 4.8 or an early 5.2? These
had a buggy make(1) that need this workaround.
Perhaps this test should be in portlint or something, but ... we
really don't guarantee that the ports collection will work on anything
other than fairly recent versions of FreeBSD.
mcl
More information about the freebsd-ports
mailing list