Date: Mon, 12 May 2003 21:54:05 -0700 From: Jim Mock <mij@soupnazi.org> To: "Paul A. Hoadley" <paulh@logicsquad.net> Cc: freebsd-questions@freebsd.org Subject: Re: Makefile problems in /usr/ports Message-ID: <EC642E42-84FE-11D7-A664-000393460DB2@soupnazi.org> In-Reply-To: <20030513013502.GC14747@grover.logicsquad.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 -
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EC642E42-84FE-11D7-A664-000393460DB2>