misc/64109: math/algae make describe fails
Scott Lipcon
slipcon at mercea.net
Thu Mar 11 07:50:10 PST 2004
>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 at 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 at 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:
More information about the freebsd-bugs
mailing list