Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Mar 2004 07:46:11 -0800 (PST)
From:      Scott Lipcon <slipcon@mercea.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/64109: math/algae make describe fails
Message-ID:  <200403111546.i2BFkBO3034002@www.freebsd.org>
Resent-Message-ID: <200403111550.i2BFoARQ003401@freefall.freebsd.org>

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

>Number:         64109
>Category:       misc
>Synopsis:       math/algae make describe fails
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 11 07:50:09 PST 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/math/algae fails, causing index build to fail.

>How-To-Repeat:
cd /usr/ports/math/algae
make describe
[root@mercea]ports/math/algae# make describe                                                              10:44AM
"Makefile", line 26: warning: String comparison operator should be either == or !=
"Makefile", line 26: Malformed conditional ((${ARCH} == "alpha" && ${OSVERSION} > 502102) || ${ARCH} == "sparc64")
"Makefile", line 26: Need an operator
"Makefile", line 28: if-less endif
"Makefile", line 28: Need an operator
make: fatal errors encountered -- cannot continue

>Fix:
a space needs to be added to the conditional which changed in the last update to Makefile... it needs to be:

...  ${OSVERSION} > 502102 )

(notice the space after the 502102 and the right paren - without the space it treats it as a string "502102)" and > is invalid for strings, and then it doesn't find the right paren to end the conditional.




>Release-Note:
>Audit-Trail:
>Unformatted:



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