From nobody@FreeBSD.org  Fri Apr 16 06:36:09 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5A9E416A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 16 Apr 2004 06:36:09 -0700 (PDT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5386543D41
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 16 Apr 2004 06:36:09 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i3GDa872079200
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 16 Apr 2004 06:36:08 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.10/8.12.10/Submit) id i3GDa8hq079199;
	Fri, 16 Apr 2004 06:36:08 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200404161336.i3GDa8hq079199@www.freebsd.org>
Date: Fri, 16 Apr 2004 06:36:08 -0700 (PDT)
From: Scott Lipcon <slipcon@mercea.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: audio/jack make describe breaks with old make
X-Send-Pr-Version: www-2.3

>Number:         65622
>Category:       ports
>Synopsis:       audio/jack make describe breaks with old make
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    arved
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 16 06:40:18 PDT 2004
>Closed-Date:    Fri Apr 16 07:52:37 PDT 2004
>Last-Modified:  Fri Apr 16 07:52:37 PDT 2004
>Originator:     Scott Lipcon
>Release:        4.8 stable
>Organization:
>Environment:
FreeBSD mercea.mercea.net 4.8-STABLE FreeBSD 4.8-STABLE #1: Tue Apr 15 20:32:03 EDT 2003     slipcon@mercea.mercea.net:/usr/obj/usr/src/sys/MERCEA  i386
>Description:
make describe in /usr/ports/audio/jack fails, causing index build to fail.
>How-To-Repeat:
mercea# cd /usr/ports/audio/jack/
mercea# make describe
"Makefile", line 34: warning: String comparison operator should be either == or !=
"Makefile", line 34: Malformed conditional ((${OSVERSION} > 500000) && (${OSVERSION} < 502102))
"Makefile", line 34: Missing dependency operator
"Makefile", line 36: if-less endif
"Makefile", line 36: Need an operator
make: fatal errors encountered -- cannot continue

>Fix:
Older versions of make are getting confused with the number/string conversion of the OSVERSIONS - it sees "500000)" as a string and can't use >.  If you put a space after the version numbers in the comparison on line 34 the old make can tell that 500000 and 502102 are numbers not strings and make describe works fine.


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->arved  
Responsible-Changed-By: krion 
Responsible-Changed-When: Fri Apr 16 07:48:18 PDT 2004 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=65622 
State-Changed-From-To: open->closed 
State-Changed-By: arved 
State-Changed-When: Fri Apr 16 07:52:29 PDT 2004 
State-Changed-Why:  
committed, thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=65622 
>Unformatted:
