From nobody@FreeBSD.org  Sat Jan  5 15:29:45 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id AD45C37B404
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  5 Jan 2002 15:29:44 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g05NTiW69058;
	Sat, 5 Jan 2002 15:29:44 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200201052329.g05NTiW69058@freefall.freebsd.org>
Date: Sat, 5 Jan 2002 15:29:44 -0800 (PST)
From: Joachim Strmbergson <watchman@ludd.luth.se>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Update of Icarus Verilog port to 0.5
X-Send-Pr-Version: www-1.0

>Number:         33588
>Category:       ports
>Synopsis:       Update of Icarus Verilog port to 0.5
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    keichii
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 05 15:30:01 PST 2002
>Closed-Date:    Wed May 15 11:05:56 PDT 2002
>Last-Modified:  Wed May 15 11:05:56 PDT 2002
>Originator:     Joachim Strmbergson
>Release:        4.4-STABLE
>Organization:
InformAsic
>Environment:
FreeBSD fetis.informasic.com 4.4-STABLE FreeBSD 4.4-STABLE #0: Sun Nov 18 12:45:24 CET 2001     js@fetis.informasic.com:/usr/obj/usr/src/sys/UP4X  i386

>Description:
The port of Icarus Verilog is quite out of date. The current stable
version, 0.5 has been out for almost a year.

The author of Icarus strongly recommends that the port should instead
be based on version 0.5 due to the big changes/improvements in
functionality and performance as well as bug fixes. He was frankly
quite surprised that it hadn't been updated.

I notified the port maintainer two months ago by email, but haven't
received any response nor have the port been updated. (I guess that
was the wrong way to do it. ;-)

>How-To-Repeat:
Install the port and try to compile a design. It's sooooo slow.


>Fix:
The diffs below will update the port to 0.5. It has been tested. There
is however one problem, and I will state it here:

The tool is using bison for building. Somewhere between version 1.28
and 1.30 of bison, there was a change to the semantics/functionality
of the "-d" flag in bison. The build process for Icarus uses the "-d"
flag and the port will fail if built using bison 1.30+ (and possibly
1.29).

The reason for the failure is that bison up to version 1.28 would
generate a header file called "parser.cc.h" when the "-d" flag is
used with the input "parse.cc". Bison 1.30 would instead generate a
header file called "parse.hh" for the same input.

I have notified the author of Icarus about this problem, and future
versions will probably handle this.

The changes for solving this in the port would require a small patch
to the Makefile.in on row 170. And some way to add version detection
for bison in the ports.

Here are the diffs. Could someone commit them, please?

/Joachim



--- /usr/ports/cad/iverilog/distinfo    Tue Feb 13 12:02:15 2001
+++ distinfo    Sat Jan  5 23:31:08 2002
@@ -1 +1,2 @@
-MD5 (verilog-0.4.tar.gz) = d2b0c7c1480ffb2ad1b440bded97e419
+MD5 (verilog-0.5.tar.gz) = 255cf69ebd4677bc3a6624a074776c6e



--- /usr/ports/cad/iverilog/Makefile    Sat May 19 10:51:50 2001
+++ datorprylar/ports/iverilog/Makefile Sat Jan  5 23:47:32 2002
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=      iverilog
-PORTVERSION=   0.4
+PORTVERSION=   0.5
 CATEGORIES=    cad
 MASTER_SITES=  ftp://icarus.com/pub/eda/verilog/v${PORTVERSION}/
 DISTNAME=      verilog-${PORTVERSION}

>Release-Note:
>Audit-Trail:

From: Joachim =?ISO-8859-1?Q?Str=F6mbergson?= <watchman@ludd.luth.se>
To: freebsd-gnats-submit@FreeBSD.org, watchman@ludd.luth.se
Cc:  
Subject: Re: ports/33588: Update of Icarus Verilog port to 0.5
Date: Sun, 06 Jan 2002 10:34:50 +0100

 Aloha!
 
 Small typofix:
 
 The paragraph about header files generated by bison should read:
 
 "The reason for the failure is that bison up to version 1.28 would
 generate a header file called "parse.cc.h" when the "-d" flag is
 used with the output "parse.cc". Bison 1.30 would instead generate a
 header file called "parse.hh" with the same output."
 
 -- 
 Med vnlig hlsning, Cheers!
 
 Joachim Strmbergson
 ============================================================================
 Joachim Strmbergson - ASIC designer, nice to *cute* animals.
      snail:                  phone:                     mail & web:
 Svensgatan 5A        +46 31 - 27 98 47          watchman@ludd.luth.se
 416 72 Gteborg        +46 733 75 97 02           www.ludd.luth.se/~watchman
 ============================================================================
 
Responsible-Changed-From-To: freebsd-ports->keichii 
Responsible-Changed-By: pat 
Responsible-Changed-When: Sun Feb 10 17:26:50 PST 2002 
Responsible-Changed-Why:  
Over to maintainer 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=33588 

From: Joachim =?ISO-8859-1?Q?Str=F6mbergson?= <watchman@ludd.luth.se>
To: freebsd-gnats-submit@FreeBSD.org, watchman@ludd.luth.se
Cc:  
Subject: Re: ports/33588: Update of Icarus Verilog port to 0.5
Date: Sun, 03 Mar 2002 21:26:42 +0100

 Aloha!
 
 Icarus Verilog is now at version 0.6 and there is a PR about that 
 version, see http://www.freebsd.org/cgi/query-pr.cgi?pr=35317
 
 This PR (33588) could therefore be closed since the issue is now handled 
 by the new PR.
 
 --
 Med vnlig hlsning, Cheers!
 
 Joachim Strmbergson
 ============================================================================
 Joachim Strmbergson - ASIC designer, nice to *cute* animals.
      snail:                  phone:                     mail & web:
 Svensgatan 5A        +46 31 - 27 98 47          watchman@ludd.luth.se
 416 72 Gteborg        +46 733 75 97 02           www.ludd.luth.se/~watchman
 ============================================================================
 
State-Changed-From-To: open->closed 
State-Changed-By: keichii 
State-Changed-When: Wed May 15 11:05:39 PDT 2002 
State-Changed-Why:  
irrelevant now, Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=33588 
>Unformatted:
