From owner-freebsd-ports@FreeBSD.ORG Thu Sep 2 17:37:46 2004 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 CF1C716A4CE; Thu, 2 Sep 2004 17:37:46 +0000 (GMT) Received: from fillmore.dyndns.org (port-212-202-49-192.dynamic.qsc.de [212.202.49.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6421343D31; Thu, 2 Sep 2004 17:37:46 +0000 (GMT) (envelope-from eikemeier@fillmore-labs.com) Received: from dhcp-4.local ([172.16.0.4]) by fillmore.dyndns.org with esmtp (Exim 4.42 (FreeBSD)) id 1C2vWp-000E1e-BL; Thu, 02 Sep 2004 19:37:45 +0200 Message-ID: <41375A5A.8070807@fillmore-labs.com> Date: Thu, 02 Sep 2004 19:37:30 +0200 From: Oliver Eikemeier Organization: Fillmore Labs GmbH - http://www.fillmore-labs.com/ MIME-Version: 1.0 To: Joey Mingrone References: <200409021322.56099.joey@mingrone.org> In-Reply-To: <200409021322.56099.joey@mingrone.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit User-Agent: KMail/1.5.9 cc: ports@freebsd.org cc: danfe@FreeBSD.org cc: gonzo@univ.kiev.ua cc: mi@aldan.algebra.com Subject: Re: error building index on 4.x 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, 02 Sep 2004 17:37:46 -0000 Joey Mingrone wrote: > Hi, > > Running: > > /usr/local/bin/cvsup -r 3 ports-all-supfile; /usr/local/sbin/portsdb -uU > > gives: > > Updating the ports index ... Generating INDEX.tmp - please wait..make: > illegal option -- C > usage: make [-Beiknqrstv] [-D variable] [-d flags] [-E variable] [-f > makefile] > [-I directory] [-j max_jobs] [-m directory] [-V variable] > [variable=value] [target ...] > "Makefile", line 16: warning: "make > -C /usr/ports/net/tkabber/../../devel/tcllib -V PORTVERSION" returned > non-zero status > "Makefile", line 44: warning: String comparison operator should be either > == or != > "Makefile", line 44: Malformed conditional (${OSVERSION} < 490000 || > (${OSVERSION} >= 500000 && ${OSVERSION} < 502001)) > "Makefile", line 44: Missing dependency operator > "Makefile", line 46: if-less endif > "Makefile", line 46: Need an operator > make: fatal errors encountered -- cannot continue > ===> x11/nvidia-driver failed > *** Error code 1 > 1 error > > *** Error code 1 > > Stop in /usr/ports. > *** Error code 1 > > Stop in /usr/ports. > failed to generate INDEX! > portsdb: index generation error > > Please let me know if there is any other information I can provide. At least uname -a would have been helpful, showing us that you have a pre-4.8 system. The following patch should fix your problems: Index: net/tkabber/Makefile =================================================================== RCS file: /home/ncvs/ports/net/tkabber/Makefile,v retrieving revision 1.3 diff -u -u -r1.3 Makefile --- net/tkabber/Makefile 3 Aug 2004 22:07:42 -0000 1.3 +++ net/tkabber/Makefile 2 Sep 2004 17:27:59 -0000 @@ -13,7 +13,7 @@ MAINTAINER= gonzo@univ.kiev.ua COMMENT= Tcl/Tk based jabber client -TCLLIBVER!= ${MAKE} -C ${.CURDIR}/../../devel/tcllib -V PORTVERSION +TCLLIBVER!= cd ${.CURDIR}/../../devel/tcllib && ${MAKE} -V PORTVERSION RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84 \ ${LOCALBASE}/lib/tcllib${TCLLIBVER}/pkgIndex.tcl:${PORTSDIR}/devel/tcllib \ ${LOCALBASE}/lib/tls/pkgIndex.tcl:${PORTSDIR}/devel/tcltls \ Index: x11/nvidia-driver/Makefile =================================================================== RCS file: /home/ncvs/ports/x11/nvidia-driver/Makefile,v retrieving revision 1.19 diff -u -u -r1.19 Makefile --- x11/nvidia-driver/Makefile 27 Aug 2004 09:24:05 -0000 1.19 +++ x11/nvidia-driver/Makefile 2 Sep 2004 17:29:38 -0000 @@ -41,7 +41,7 @@ PLIST_SUB+= LINUX="@comment " .endif -.if ${OSVERSION} < 490000 || (${OSVERSION} >= 500000 && ${OSVERSION} < 502001) +.if ${OSVERSION} < 490000 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 502001 ) IGNORE= "supports FreeBSD -STABLE (4.9 or later), or FreeBSD -CURRENT (5.2.1 or later)" .endif Btw, I don't like the != line, there must be another way. -Oliver