Bug 60162 - Update of Icarus Verilog to 2003-12-02 snapshot (this fixes the broken port)
Summary: Update of Icarus Verilog to 2003-12-02 snapshot (this fixes the broken port)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-11 21:30 UTC by watchman
Modified: 2003-12-17 16:04 UTC (History)
0 users

See Also:


Attachments
distinfo.patch (219 bytes, patch)
2003-12-11 21:30 UTC, watchman
no flags Details | Diff
pkg-plist.patch (553 bytes, patch)
2003-12-11 21:30 UTC, watchman
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description watchman 2003-12-11 21:30:03 UTC

The port of Icarus Verilog have been broken for a while with a problem upstream. I have been in contact with the author of Icarus Verilog who has now released a new development snapshot of the port. I have created patches that updates the port to the snapshot and have tested it on CURRENT.

The problem seen with PLI_UINT64 have been fixed. Additionally the snapshot adds several nerw functions for FPGA development.

NOTE: The patches and thereby the port have not been tested on STABLE.

Fix: --- Makefile	Mon Nov 24 18:35:20 2003
+++ Makefile	Thu Dec 11 21:03:58 2003
@@ -7,15 +7,13 @@
 #
 
 PORTNAME=	iverilog
-PORTVERSION=	0.7.20031009
+PORTVERSION=	0.7.20031202
 CATEGORIES=	cad
 MASTER_SITES=	ftp://icarus.com/pub/eda/verilog/snapshots/
-DISTNAME=	verilog-20031009
+DISTNAME=	verilog-20031202
 
 MAINTAINER=	watchman@ludd.luth.se
 COMMENT=	A Verilog simulation and synthesis tool
-
-BROKEN=		"fails to compile - missing definition of TIME_FMT"
 
 USE_BISON=	yes
 USE_GMAKE=	yes
--- Makefile.patch ends here ---
How-To-Repeat: 

Apply the included patches.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2003-12-11 21:31:43 UTC
Responsible Changed
From-To: freebsd-ports-bugs->linimon

Since I worked on the predecessor PR to this, I'll take this 
one too.
Comment 2 watchman 2003-12-11 22:29:06 UTC
Aloha!

Darn, found a few errors in two of the patches when testing them on a 
pristine machine. My bad.

-- Makefile.patch begin here --
--- Makefile.orig       Thu Dec 11 23:07:40 2003
+++ Makefile    Thu Dec 11 23:09:20 2003
@@ -7,20 +7,19 @@
  #

  PORTNAME=      iverilog
-PORTVERSION=   0.7.20031009
+PORTVERSION=   0.7.20031202
  CATEGORIES=    cad
  MASTER_SITES=  ftp://icarus.com/pub/eda/verilog/snapshots/
-DISTNAME=      verilog-20031009
+DISTNAME=      verilog-20031202

  MAINTAINER=    watchman@ludd.luth.se
  COMMENT=       A Verilog simulation and synthesis tool

-BROKEN=                "fails to compile - missing definition of TIME_FMT"

  USE_BISON=     yes
  USE_GMAKE=     yes
  GNU_CONFIGURE= yes

-MAN1=          iverilog-vpi.1 iverilog.1 vvp.1
+MAN1=          iverilog-vpi.1 iverilog.1 vvp.1 iverilog-fpga.1

  .include <bsd.port.mk>
-- Makefile.patch end here --


-- pkg-plist.patch begin here --
--- pkg-plist   Thu Dec 11 23:21:58 2003
+++ pkg-plist   Thu Dec 11 23:21:35 2003
@@ -5,14 +5,20 @@
  include/ivl_target.h
  include/veriuser.h
  include/vpi_user.h
+include/_pli_types.h
  lib/ivl/cadpli.vpl
  lib/ivl/fpga.tgt
-lib/ivl/iverilog.conf
  lib/ivl/ivl
  lib/ivl/ivlpp
+lib/ivl/null-s.conf
+lib/ivl/null.conf
  lib/ivl/null.tgt
  lib/ivl/system.vpi
+lib/ivl/vvp-s.conf
+lib/ivl/vvp.conf
  lib/ivl/vvp.tgt
+lib/ivl/xnf-s.conf
+lib/ivl/xnf.conf
  lib/libveriuser.a
  lib/libvpi.a
  @dirrm lib/ivl
-- pkg-plist.patch end here --

-- 
Med vänlig hälsning, Cheers!

Joachim Strömbergson
============================================================================
Joachim Strömbergson - ASIC designer, nice to *cute* animals.
     snail:                  phone:                     mail & web:
Sävenäsgatan 5A        +46 31 - 27 98 47          watchman@ludd.luth.se
416 72 Göteborg        +46 733 75 97 02           www.ludd.luth.se/~watchman
============================================================================
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2003-12-17 16:03:57 UTC
State Changed
From-To: open->closed

Committed (with 2 additional files in the plist), thanks.