From owner-freebsd-bugs Wed Oct 17 9: 0: 8 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id EA08D37B405 for ; Wed, 17 Oct 2001 09:00:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9HG01032436; Wed, 17 Oct 2001 09:00:01 -0700 (PDT) (envelope-from gnats) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by hub.freebsd.org (Postfix) with ESMTP id 7526637B409 for ; Wed, 17 Oct 2001 08:50:21 -0700 (PDT) Received: (from mi@localhost) by aldan.algebra.com (8.11.6/8.11.5) id f9HFldP03628; Wed, 17 Oct 2001 11:47:39 -0400 (EDT) (envelope-from mi) Message-Id: <200110171547.f9HFldP03628@aldan.algebra.com> Date: Wed, 17 Oct 2001 11:47:39 -0400 (EDT) From: Mikhail Teterin Reply-To: Mikhail Teterin To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: bin/31339: make's .if processing buggy Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 31339 >Category: bin >Synopsis: make's .if processing buggy >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 17 09:00:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Mikhail Teterin >Release: FreeBSD 5.0-CURRENT i386 >Organization: Virtual Estates, Inc. >Environment: System: FreeBSD aldan.algebra.com 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Sun Oct 14 18:09:07 EDT 2001 mi@aldan.algebra.com:/ccd/obj/ccd/src/sys/DEBUG i386 >Description: The following makefile breaks make for unknown reason: .if o != a all: @echo "not equal" .else @echo "equal" .endif Modifying it to instead start with o=o .if $o != a ... works around the problem. It will work even if o is explicitly set to "", but will not if it is not set at all (which is supposed to imply an empty string "" too). >How-To-Repeat: See description. >Fix: See description. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message