Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 2004 05:44:59 -0700 (PDT)
From:      Scott Lipcon <slipcon@mercea.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/66739: emulators/vba make describe incompatible with old make
Message-ID:  <200405171244.i4HCix8k087360@www.freebsd.org>
Resent-Message-ID: <200405171250.i4HCoL6U081099@freefall.freebsd.org>

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

>Number:         66739
>Category:       ports
>Synopsis:       emulators/vba make describe incompatible 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:   Mon May 17 05:50:21 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Scott Lipcon
>Release:        4.8
>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 is broken due to a change that older versions of make can't handle:

mercea# make describe
"Makefile", line 31: warning: String comparison operator should be either == or !=
"Makefile", line 31: Malformed conditional ((${OSVERSION} < 500035))
"Makefile", line 31: Missing dependency operator
"Makefile", line 33: if-less endif
"Makefile", line 33: Need an operator
make: fatal errors encountered -- cannot continue

>How-To-Repeat:
cd /usr/ports/emulators/vba
make describe

with an old version of make


>Fix:
--- Makefile.orig       Mon May 17 08:44:20 2004
+++ Makefile    Mon May 17 08:44:27 2004
@@ -28,7 +28,7 @@
 
 .include <bsd.port.pre.mk>
 
-.if (${OSVERSION} < 500035)
+.if ( ${OSVERSION} < 500035 )
 CFLAGS+=       -O0
 .endif
 

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



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