From owner-freebsd-questions@FreeBSD.ORG Mon Apr 18 15:14:23 2005 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 9234416A4CE for ; Mon, 18 Apr 2005 15:14:23 +0000 (GMT) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E41443D58 for ; Mon, 18 Apr 2005 15:14:23 +0000 (GMT) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from frontend2.messagingengine.com (frontend2.internal [10.202.2.151]) by frontend1.messagingengine.com (Postfix) with ESMTP id 381BBC76B09 for ; Mon, 18 Apr 2005 11:14:19 -0400 (EDT) X-Sasl-enc: 95KLu+q8RpaECoo7XdzRzuxIMi3jx4yGrf4DcrIMhba9 1113837258 Received: from gumby.localhost (dsl-80-41-73-80.access.as9105.com [80.41.73.80]) by frontend2.messagingengine.com (Postfix) with ESMTP id 76B9B56D31D for ; Mon, 18 Apr 2005 11:14:18 -0400 (EDT) From: RW To: freebsd-questions@freebsd.org Date: Mon, 18 Apr 2005 16:14:15 +0100 User-Agent: KMail/1.8 References: <200504180758.BAA10753@lariat.org> In-Reply-To: <200504180758.BAA10753@lariat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200504181614.15608.list-freebsd-2004@morbius.sent.com> Subject: Re: Can't build ports on older FreeBSD machine 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: Mon, 18 Apr 2005 15:14:23 -0000 On Monday 18 April 2005 08:58, Brett Glass wrote: > I've been asked to upgrade some software on an older FreeBSD 4.x box. (The > owner is getting ready to move to a new box with 4.11 but can't take the > machine out of production just yet.) I upgraded all of the ports via CVS, > and then discovered that none of them would build. When I try to build a > port, I get messages like > > "/usr/ports/Mk/bsd.port.mk", line 4852: Malformed conditional > (defined(USE_RCORDER) || defined(USE_RC_SUBR) && ${USE_RC_SUBR:U} != "YES") > > I'm not sure, but it appears that the master Makefile for the ports > collection was updated during the CVS update and requires features that the > "make" utility which shipped with that version of FreeBSD doesn't have. > (Correct me if I'm wrong here, but that's what it looks like at first > glance.) How can I build ports on that box? Note that I may be in a bit of > a Catch-22 situation, since any solution that requires installing a new > "make" won't work if I have to build it from a port. The canonical solution is to upgrade world & kernel to 4.11.