Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jan 1999 14:50:10 +1100 (EST)
From:      Jim Mock <jim@corp.au.triax.com>
To:        nodog@mail.utexas.edu
Cc:        ports@freebsd.org
Subject:   Re: ports/9266: some ports won't compile or clean
Message-ID:  <Pine.BSF.4.05.9901021445360.1011-100000@corp.au.triax.com>
In-Reply-To: <199901020104.RAA17778@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 1 Jan 1999 nodog@mail.utexas.edu wrote:

[snip..]
> >Description:
> When doing a `make' or a `make clean' on some ports (the png-1.0.2 port
> is an example), I get one of two problems... Either I get 
> 
> "Makefile", line 63: Malformed conditional (${PORTOBJFORMAT} == "aout")
> "Makefile", line 63: Need an operator
> "Makefile", line 76: if-less endif
> "Makefile", line 76: Need an operator
> make: fatal errors encountered -- cannot continue
> *** Error code 1
> 
> or 
> 
> "Makefile", line 79: Could not find bsd.port.post.mk
> make: fatal errors encountered -- cannot continue
> *** Error code 1
> 
> or I get both.  
>

That's because you need to update your /usr/share/mk files.  Go to
http://www.freebsd.org/ports/ and install the proper upgrade kit.
It'll fix all of this.

> 
> >How-To-Repeat:
> `make clean' in the /usr/ports/math/gnuplot directory.
> >Fix:
> To fix the bsd.port.post.mk problem, I added a link in /usr/share/mk
> from bsd.port.mk to bsd.port.post.mk and just `touch'ed
> bsd.port.pre.mk in the same directory.  This doesn't seem like a good
> solution, but it's worked for the "Could not find..." errors.
> >Audit-Trail:
> >Unformatted:
>

That's because it's not the solution =)  Installing the appropriate
upgrade kit for your system will fix it.

If there's any interest, I'll write an entry for the FAQ or Handbook
(or both?) if someone wants to commit it =)  This seems to come up
pretty often on the -questions list, so maybe something there will
help people get it fixed.

-- 
: Jim Mock			| [jim@corp.au.triax.com]	:
: System Administrator		| http://www.triax.com/		:
: Triax Internet Services	| ----------------------------- :
: Portland, OR USA		| FreeBSD: The Power to Serve	:
: Wagga Wagga, NSW Australia	| http://www.freebsd.org/	:



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?Pine.BSF.4.05.9901021445360.1011-100000>