Date: Thu, 13 Mar 2003 23:18:30 +0900 From: Tetsurou Okazaki <okazaki@FreeBSD.org> To: Kris Kennaway <kris@obsecurity.org> Cc: Thomas Schuerger <schuerge@wjpserver.cs.uni-sb.de>, freebsd-ports@FreeBSD.ORG Subject: Re: make index not working Message-ID: <lxadfzgxjd.wl%okazaki@FreeBSD.org> In-Reply-To: <20030203103255.GB92541@rot13.obsecurity.org> References: <20030202220219.B10463@wjpserver.cs.uni-sb.de> <20030202212329.GF74910@rot13.obsecurity.org> <20030203095340.A19220@wjpserver.cs.uni-sb.de> <20030203103255.GB92541@rot13.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
At Mon, 3 Feb 2003 02:32:55 -0800, Kris Kennaway wrote: > > On Mon, Feb 03, 2003 at 09:53:40AM +0100, Thomas Schuerger wrote: > > > > Hi, > > > > > > > > I've been having troubles regenerating the ports collection's index > > > > for some weeks now (I'm using 4.5-RELEASE, where it used to work fine > > > > before). I get the following messages: | root@starfire:/usr/ports% make index | Generating INDEX - please wait.."Makefile", line 62: Malformed | conditional (defined(WITH_FIDO) && ${WITH_FIDO:L} != no) | "Makefile", line 64: if-less endif | "Makefile", line 64: Need an operator > > > Using the ports collection with 4.5-RELEASE is not supported: please > > > upgrade to 4.7-RELEASE or 4.7-STABLE. Modulo some other small > > > problems, which you are not seeing, INDEX generation works fine there. > > > > What has been changed in the index generation so that an update to 4.7 > > is required? Is there a away to get it running on 4.5? > Above error is caused by the bug in the old make trying to evaluate `${WITH_FIDO:L} != no' even if `defined(WITH_FOO)' was false. This bug was fixed after 4.5-RELEASE. One workaround to cope with such an old make is to split the conditional as below. .if defined(WITH_FIDO) .if ${WITH_FIDO:L} != no ... .endif .endif Just FYI. > No idea. Various other things will break on 4.5 anyway. -- Tetsurou To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?lxadfzgxjd.wl%okazaki>