ports/65622: audio/jack make describe breaks with old make

Scott Lipcon slipcon at mercea.net
Fri Apr 16 13:40:19 UTC 2004


>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 at 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:



More information about the freebsd-ports-bugs mailing list