From owner-freebsd-ports Thu Nov 28 10:50: 4 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66C4C37B401 for ; Thu, 28 Nov 2002 10:50:02 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B411943E9C for ; Thu, 28 Nov 2002 10:50:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gASIo1x3038993 for ; Thu, 28 Nov 2002 10:50:01 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gASIo1Yk038992; Thu, 28 Nov 2002 10:50:01 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3279637B401 for ; Thu, 28 Nov 2002 10:41:23 -0800 (PST) Received: from rhadamanth.submonkey.net (pc1-cdif2-5-cust47.cdf.cable.ntl.com [81.101.150.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B28843EBE for ; Thu, 28 Nov 2002 10:41:22 -0800 (PST) (envelope-from setantae@submonkey.net) Received: from setantae by rhadamanth.submonkey.net with local (Exim 4.10) id 18HTbE-000AyQ-00 for FreeBSD-gnats-submit@freebsd.org; Thu, 28 Nov 2002 18:41:20 +0000 Message-Id: Date: Thu, 28 Nov 2002 18:41:20 +0000 From: Ceri Davies Reply-To: Ceri Davies To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/45827: [PATCH] Fix emulators/bochs WITH_BOCHS_PROCESSORS Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 45827 >Category: ports >Synopsis: [PATCH] Fix emulators/bochs WITH_BOCHS_PROCESSORS >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 28 10:50:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Ceri Davies >Release: FreeBSD 4.7-STABLE i386 >Organization: >Environment: System: FreeBSD rhadamanth.private.submonkey.net 4.7-STABLE FreeBSD 4.7-STABLE #2: Wed Nov 27 01:01:49 GMT 2002 setantae@rhadamanth.private.submonkey.net:/usr/obj/usr/src/sys/RHADAMANTH i386 >Description: The Makefile for emulators/bochs contains a cut-n-paste-o, resulting in a failure when make is invoked with WITH_BOCHS_PROCESSORS defined. >How-To-Repeat: # cd /usr/ports/emulators/bochs # make WITH_BOCHS_PROCESSORS=2 "Makefile", line 44: Malformed conditional (${WITH_BOCHS_CPU_LEVEL} < 1 || ${WITH_BOCHS_CPU_LEVEL} > 15) "Makefile", line 44: Need an operator "Makefile", line 45: "WITH_BOCHS_CPU_LEVEL must be an integer value between 1 and 15." # >Fix: Apply the following patch: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/emulators/bochs/Makefile,v retrieving revision 1.48 diff -u -r1.48 Makefile --- Makefile 3 Nov 2002 14:41:51 -0000 1.48 +++ Makefile 28 Nov 2002 18:34:49 -0000 @@ -41,8 +41,8 @@ .endif .if defined(WITH_BOCHS_PROCESSORS) -.if ${WITH_BOCHS_CPU_LEVEL} < 1 || ${WITH_BOCHS_CPU_LEVEL} > 15 -.error "WITH_BOCHS_CPU_LEVEL must be an integer value between 1 and 15." +.if ${WITH_BOCHS_PROCESSORS} < 1 || ${WITH_BOCHS_PROCESSORS} > 15 + .error "WITH_BOCHS_PROCESSORS must be an integer value between 1 and 15." .endif CONFIGURE_ARGS+= --enable-processors=${WITH_BOCHS_PROCESSORS} WITH_BOCHS_CPU_LEVEL= 6 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message