From owner-freebsd-questions@FreeBSD.ORG Mon May 12 21:54:35 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98A8737B401 for ; Mon, 12 May 2003 21:54:35 -0700 (PDT) Received: from pop015.verizon.net (pop015pub.verizon.net [206.46.170.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3B8343F85 for ; Mon, 12 May 2003 21:54:34 -0700 (PDT) (envelope-from mij@soupnazi.org) Received: from envy.homeunix.com ([4.47.68.94]) by pop015.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030513045433.YDCV17297.pop015.verizon.net@envy.homeunix.com>; Mon, 12 May 2003 23:54:33 -0500 Received: from soupnazi.org (lust.pdx.soupnazi.org [192.168.1.2]) by envy.homeunix.com (8.12.8p1/8.12.8) with ESMTP id h4D4sVj2035655; Mon, 12 May 2003 21:54:31 -0700 (PDT) (envelope-from mij@soupnazi.org) Date: Mon, 12 May 2003 21:54:05 -0700 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) To: "Paul A. Hoadley" From: Jim Mock In-Reply-To: <20030513013502.GC14747@grover.logicsquad.net> Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) X-Authentication-Info: Submitted using SMTP AUTH at pop015.verizon.net from [4.47.68.94] at Mon, 12 May 2003 23:54:33 -0500 cc: freebsd-questions@freebsd.org Subject: Re: Makefile problems in /usr/ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2003 04:54:35 -0000 On Monday, May 12, 2003, at 06:35 PM, Paul A. Hoadley wrote: > On Mon, May 12, 2003 at 05:33:48PM -0700, Jim Mock wrote: > >> Two questions: >> >> 1) How old is your ports tree? > > I always do a cvsup on the subdirectory I'm building in, so it's > pretty much up to date. Here's an example of one that's failing: Ok. >> grep \$FreeBSD Makefile > # $FreeBSD: ports/mail/p5-Mail-SpamAssassin/Makefile,v 1.43 2003/04/07 > 00:12:26 dougb Exp $ > >> 2) Do you have make aliased to gmake in your shell or any other such >> silliness? > > No: > >> which make > /usr/bin/make > > Make just doesn't seem to like this kind of construct: > > .if ${PERL_LEVEL} < 500600 > RUN_DEPENDS+= > ${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser > BUILD_DEPENDS+= > ${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser > .endif > > It responds with: > > "Makefile", line 27: Malformed conditional (${PERL_LEVEL} < 500600) > "Makefile", line 27: Need an operator > "Makefile", line 30: if-less endif > "Makefile", line 30: Need an operator > > It's a brand new /usr/bin/make built when I upgraded to 4.8-STABLE > yesterday. Odd. I don't have the ports tree on my 4.8 system, but that port works on my 5.x machine (same $FreeBSD$ string). Out of curiousity, what happens if you nuke the Makefile, cvsup, and try it again? I don't think it'll help much, but it's worth trying, I suppose. - jim -- - jim mock mij@{soupnazi|opendarwin}.org jim@{bsdnews|FreeBSD}.org - - editor in chief, BSD News: http://bsdnews.org http://soupnazi.org -