Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 2004 06:36:08 -0700 (PDT)
From:      Scott Lipcon <slipcon@mercea.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/65622: audio/jack make describe breaks with old make
Message-ID:  <200404161336.i3GDa8hq079199@www.freebsd.org>
Resent-Message-ID: <200404161340.i3GDeInb012501@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         65622
>Category:       ports
>Synopsis:       audio/jack make describe breaks with old make
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 16 06:40:18 PDT 2004
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404161336.i3GDa8hq079199>