From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Sep 26 22:50:28 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22F2616A4E8 for ; Sun, 26 Sep 2004 22:50:28 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D82143D83 for ; Sun, 26 Sep 2004 22:50:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i8QMoPGC084248 for ; Sun, 26 Sep 2004 22:50:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i8QMoPUT084247; Sun, 26 Sep 2004 22:50:25 GMT (envelope-from gnats) Resent-Date: Sun, 26 Sep 2004 22:50:25 GMT Resent-Message-Id: <200409262250.i8QMoPUT084247@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Michel Lavondes Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8652716A4DB for ; Sun, 26 Sep 2004 22:40:16 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7781943D3F for ; Sun, 26 Sep 2004 22:40:16 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i8QMeFQH090356 for ; Sun, 26 Sep 2004 22:40:15 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i8QMeFTR090355; Sun, 26 Sep 2004 22:40:15 GMT (envelope-from nobody) Message-Id: <200409262240.i8QMeFTR090355@www.freebsd.org> Date: Sun, 26 Sep 2004 22:40:15 GMT From: Michel Lavondes To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: ports/72118: port dns/bind9 Makefile 1.59 crashes "make clean" X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Sep 2004 22:50:28 -0000 >Number: 72118 >Category: ports >Synopsis: port dns/bind9 Makefile 1.59 crashes "make clean" >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 26 22:50:25 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Michel Lavondes >Release: 4.8-RELEASE-p25 >Organization: Ecdysiasts United for Overdressing >Environment: >Description: A syntax error was introduced as part of http://docs.FreeBSD.org/cgi/mid.cgi?200409240403.i8O43VEY089224 This crashes on "make clean" in /usr/ports/dns/bind9 with the following error messages: # make clean "Makefile", line 37: warning: String comparison operator should be either == or != "Makefile", line 37: Malformed conditional ((${OSVERSION} >= 503000)) "Makefile", line 37: Missing dependency operator "Makefile", line 39: if-less else "Makefile", line 39: Need an operator "Makefile", line 41: if-less endif "Makefile", line 41: Need an operator make: fatal errors encountered -- cannot continue It also crashes on "make clean" in /usr/ports/dns and /usr/ports (that's when I first noticed it), and on "make fetch" (and I suspect other targets too) in dns/bind9. >How-To-Repeat: # cd /usr/ports/dns/bind9; make clean >Fix: The following change unbreaks it on my machine: Change line 37 of Makefile, .if (${OSVERSION} >= 503000) to: .if ${OSVERSION} >= 503000 (remove parentheses around the condition) >Release-Note: >Audit-Trail: >Unformatted: