From owner-freebsd-ports@FreeBSD.ORG Thu Jan 13 17:40:02 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2C7D16A4CE for ; Thu, 13 Jan 2005 17:40:02 +0000 (GMT) Received: from mail.soaustin.net (mail.soaustin.net [207.200.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C99843D39 for ; Thu, 13 Jan 2005 17:40:02 +0000 (GMT) (envelope-from linimon@lonesome.com) Received: by mail.soaustin.net (Postfix, from userid 502) id CA1D0148F4; Thu, 13 Jan 2005 11:40:01 -0600 (CST) Date: Thu, 13 Jan 2005 11:40:01 -0600 (CST) From: Mark Linimon X-X-Sender: linimon@pancho To: "R.Brouwer" In-Reply-To: <41E636F8.5020806@corine-robert.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: ports@FreeBSD.org Subject: Re: Fix for port-Makefiles X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jan 2005 17:40:02 -0000 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