From parv_fm@mailsent.net  Mon Dec 15 21:38:57 2003
Return-Path: <parv_fm@mailsent.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 962E316A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 15 Dec 2003 21:38:57 -0800 (PST)
Received: from mta9.adelphia.net (mta9.adelphia.net [68.168.78.199])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5EBCB43D31
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 15 Dec 2003 21:38:56 -0800 (PST)
	(envelope-from parv_fm@mailsent.net)
Received: from moo.holy.cow ([69.160.69.113]) by mta9.adelphia.net
          (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP
          id <20031216053855.JLDI23237.mta9.adelphia.net@moo.holy.cow>;
          Tue, 16 Dec 2003 00:38:55 -0500
Received: by moo.holy.cow (Postfix, from userid 1001)
	id 9F148B317; Tue, 16 Dec 2003 00:43:17 -0500 (EST)
Message-Id: <20031216054317.9F148B317@moo.holy.cow>
Date: Tue, 16 Dec 2003 00:43:17 -0500 (EST)
From: parv@pair.com
To: FreeBSD-gnats-submit@freebsd.org
Cc: cyrille.lefevre@laposte.net
Subject: databases/mysql-gui - make <index|describe> breakage
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         60288
>Category:       ports
>Synopsis:       databases/mysql-gui - make <index|describe> breakage
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 15 21:40:16 PST 2003
>Closed-Date:    Tue Dec 16 11:32:44 PST 2003
>Last-Modified:  Wed Dec 17 14:00:31 PST 2003
>Originator:     parv
>Release:        FreeBSD 4.8-RELEASE-p14 i386
>Organization:
>Environment:
System: FreeBSD moo.holy.cow 4.8-RELEASE-p14

ports updated on 2003.12.16.02.43.37 UTC

>Description:

Following in databases/mysql-gui/Makefile, lines 46-48,...

  .if (${OSVERSION} >= 500000)
  BROKEN=         Does not build
  .endif


...causes make <describe|index> to fail w/ this message...

  ===> databases/mysql-gui
  "Makefile", line 46: warning: String comparison operator should be either == or !=
  "Makefile", line 46: Malformed conditional ((${OSVERSION} >= 500000))
  "Makefile", line 46: Missing dependency operator
  "Makefile", line 48: if-less endif
  "Makefile", line 48: Need an operator
  make: fatal errors encountered -- cannot continue
  *** Error code 1

  Stop in /usr3/ports/databases.
  *** Error code 1


>How-To-Repeat:

Update the ports to above date tag, and ...

  cd /usr/ports && make describe

>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Tue Dec 16 09:12:59 PST 2003 
State-Changed-Why:  
Set to feedback to note that I've asked for more information. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=60288 

From: Mark Linimon <linimon@lonesome.com>
To: freebsd-gnats-submit@FreeBSD.org, parv@pair.com
Cc:  
Subject: Re: ports/60288: databases/mysql-gui - make <index|describe> breakage
Date: Tue, 16 Dec 2003 07:14:35 -0600

 You'll have to tell us a little more about your
 environment, since on 4.9-PRERELEASE and /bin/sh
 it works for me (at least, doing "make describe"
 from the /usr/ports/databases level).  This is
 with Makefile,v 1.14.
 
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Tue Dec 16 11:32:07 PST 2003 
State-Changed-Why:  
On 4.8-RELEASE make don't understand construction 
.if (expression) 
but does accept construction 
.if expression 

I fixed it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=60288 

From: parv <parv@pair.com>
To: Mark Linimon <linimon@lonesome.com>
Cc: freebsd-ports-bugs@FreeBSD.org,
	f-gnats <freebsd-gnats-submit@freebsd.org>
Subject: Re: ports/60288: databases/mysql-gui - make <index|describe> breakage
Date: Wed, 17 Dec 2003 03:29:32 -0500

 in message <200312161720.hBGHKP1s047107@freefall.freebsd.org>, wrote
 Mark Linimon thusly...
 >
 > You'll have to tell us a little more about your environment, since
 > on 4.9-PRERELEASE and /bin/sh it works for me (at least, doing
 > "make describe" from the /usr/ports/databases level).  This is
 > with Makefile,v 1.14.
 
 Hi Mark,
 
 The PR that i filed, contained...
 
   System: FreeBSD moo.holy.cow 4.8-RELEASE-p14
 
   ports updated on 2003.12.16.02.43.37 UTC
 
 
 ...for future reference, could you tell me/us what other information
 you might have needed?
 
 
   - Parv
 
 -- 
 

From: Mark Linimon <linimon@lonesome.com>
To: parv <parv@pair.com>
Cc: freebsd-ports-bugs@FreeBSD.org,
	f-gnats <freebsd-gnats-submit@freebsd.org>
Subject: Re: ports/60288: databases/mysql-gui - make <index|describe> breakage
Date: Wed, 17 Dec 2003 02:31:24 -0600

 Oh, I would have included which shell you were using (that was
 what I was trying to imply with my "/bin/sh" comment, some
 people have reported that various exotic shells confuse make).
 
 But apparently Pav has already committed a fix for this that
 involved simplifying the parsing of the OSVERSION conditional
 because something in 4.8 did not like it.
 
 So basically it sounds like the problem has been solved already.
 
 

From: parv <parv@pair.com>
To: Mark Linimon <linimon@lonesome.com>
Cc: freebsd-ports-bugs@FreeBSD.org,
	f-gnats <freebsd-gnats-submit@freebsd.org>
Subject: Re: ports/60288: databases/mysql-gui - make <index|describe> breakage
Date: Wed, 17 Dec 2003 17:02:44 -0500

 in message <3FE0145C.6030605@lonesome.com>,
 wrote Mark Linimon thusly...
 >
 > Oh, I would have included which shell you were using (that was
 > what I was trying to imply with my "/bin/sh" comment, some
 > people have reported that various exotic shells confuse make).
 
 Ah, ok.  I will keep that in mind for my future PRs.  Thanks.
 
 
   - Parv
 
 -- 
 
>Unformatted:
