From owner-freebsd-questions@FreeBSD.ORG Tue Feb 20 00:45:10 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 48F25170781 for ; Tue, 20 Feb 2007 00:45:10 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 369CF13C491 for ; Tue, 20 Feb 2007 00:45:10 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 08AEF1A3C1A; Mon, 19 Feb 2007 16:45:09 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 6355154070; Mon, 19 Feb 2007 19:45:08 -0500 (EST) Date: Mon, 19 Feb 2007 19:45:08 -0500 From: Kris Kennaway To: Brad Kowalczyk Message-ID: <20070220004508.GA44929@xor.obsecurity.org> References: <45DA37CB.7090905@ibiscode.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45DA37CB.7090905@ibiscode.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: make in ports not working X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Feb 2007 00:45:10 -0000 On Tue, Feb 20, 2007 at 10:50:35AM +1100, Brad Kowalczyk wrote: > Hi > > I get the following error when trying to make from the ports tree: > > "/usr/ports/Mk/bsd.port.mk", line 2292: warning: String comparison > operator should be either == or != > "/usr/ports/Mk/bsd.port.mk", line 2292: warning: String comparison > operator should be either == or != > "/usr/ports/Mk/bsd.port.mk", line 2292: Malformed conditional > (((${OSVERSION} < 504105 || (${OSVERSION} >= 600000 && ${OSVERSION} < > 600103) || (${OSVERSION} >= 700000 && ${OSVERSION} < 700012)) && > ${PKGORIGIN} != "ports-mgmt/pkg_install") || > exists(${LOCALBASE}/sbin/pkg_info)) > "/usr/ports/Mk/bsd.port.mk", line 2293: warning: String comparison > operator should be either == or != > "/usr/ports/Mk/bsd.port.mk", line 2293: warning: String comparison > operator should be either == or != > "/usr/ports/Mk/bsd.port.mk", line 2293: Malformed conditional > ((${OSVERSION} < 504105 || (${OSVERSION} >= 600000 && ${OSVERSION} < > 600103) || (${OSVERSION} >= 700000 && ${OSVERSION} < 700012)) && > ${PKGORIGIN} != "ports-mgmt/pkg_install") > "/usr/ports/Mk/bsd.port.mk", line 2308: if-less else > "/usr/ports/Mk/bsd.port.mk", line 2308: Need an operator > "/usr/ports/Mk/bsd.port.mk", line 2322: if-less endif > "/usr/ports/Mk/bsd.port.mk", line 2322: Need an operator > "/usr/ports/Mk/bsd.port.mk", line 5987: if-less endif > "/usr/ports/Mk/bsd.port.mk", line 5987: Need an operator > make: fatal errors encountered -- cannot continue > > Any help appreciated > > Also I am not subscribed to the list so reply-all. You forgot to mention which version of FreeBSD you're running, but it's probably an ancient one that is no longer supported. Kris