From owner-freebsd-ports Fri Jan 1 19:54:01 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA02757 for freebsd-ports-outgoing; Fri, 1 Jan 1999 19:50:46 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from corp.au.triax.com (slwag2p13.ozemail.com.au [203.108.157.61]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA02752 for ; Fri, 1 Jan 1999 19:50:41 -0800 (PST) (envelope-from jim@corp.au.triax.com) Received: from localhost (jim@localhost) by corp.au.triax.com (8.9.1a/8.9.1) with ESMTP id OAA01033; Sat, 2 Jan 1999 14:50:10 +1100 (EST) Date: Sat, 2 Jan 1999 14:50:10 +1100 (EST) From: Jim Mock To: nodog@mail.utexas.edu cc: ports@freebsd.org Subject: Re: ports/9266: some ports won't compile or clean In-Reply-To: <199901020104.RAA17778@hub.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@freebsd.org Precedence: bulk X-Loop: FreeBSD.org 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