Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 May 2003 11:05:02 +0930
From:      "Paul A. Hoadley" <paulh@logicsquad.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Makefile problems in /usr/ports
Message-ID:  <20030513013502.GC14747@grover.logicsquad.net>
In-Reply-To: <901A9AF9-84DA-11D7-A664-000393460DB2@soupnazi.org>
References:  <20030512081804.GA836@grover.logicsquad.net> <901A9AF9-84DA-11D7-A664-000393460DB2@soupnazi.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Jim,

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:

> 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.


-- 
Paul.

mailto:paulh@logicsquad.net
mailto:phoadley@maths.adelaide.edu.au



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030513013502.GC14747>