aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-09-13 22:20:25 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2021-09-13 22:29:00 +0000
commit6453e581244222d9d21320b35e6242bf2ef7340f (patch)
tree139c701535b6c066fa34b577f879467b61fcaed3
parentee1379ad3e719be56e6971ff94084bc0fc25beda (diff)
downloadports-6453e581244222d9d21320b35e6242bf2ef7340f.tar.gz
ports-6453e581244222d9d21320b35e6242bf2ef7340f.zip
cad/verilator: Update 4.210 -> 4.212
Project doesn't distribute tarballs any more in favor of GitHub tags.
-rw-r--r--cad/verilator/Makefile15
-rw-r--r--cad/verilator/distinfo8
-rw-r--r--cad/verilator/pkg-plist2
3 files changed, 14 insertions, 11 deletions
diff --git a/cad/verilator/Makefile b/cad/verilator/Makefile
index 5f7e8d0323f2..50a09029cd0e 100644
--- a/cad/verilator/Makefile
+++ b/cad/verilator/Makefile
@@ -1,11 +1,7 @@
PORTNAME= verilator
-DISTVERSION= 4.210
-PORTREVISION= 1
+DISTVERSIONPREFIX= v
+DISTVERSION= 4.212
CATEGORIES= cad
-MASTER_SITES= https://www.veripool.org/ftp/
-
-PATCH_SITES= https://github.com/verilator/verilator/commit/
-PATCHFILES= 9907d211ff5fa408a7eb6387ef0ceaedaeea2d32.patch:-p1 # backport of bug fix: https://github.com/verilator/verilator/commit/9907d211ff5fa408a7eb6387ef0ceaedaeea2d32
MAINTAINER= yuri@FreeBSD.org
COMMENT= Synthesizable Verilog to C++ compiler
@@ -15,15 +11,18 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_i386= see https://github.com/verilator/verilator/issues/3037
+BUILD_DEPENDS= autoconf>0:devel/autoconf
LIB_DEPENDS= libsystemc.so:devel/systemc
RUN_DEPENDS= gmake:devel/gmake # verilator runs gmake for the --hierarchical option when the 'gmake' method is chosen
USES= bison compiler:c++14-lang gmake localbase:ldflags pathfix perl5 python:build,run,test shebangfix tar:tgz
+USE_GITHUB= yes
SHEBANG_FILES= bin/verilator_ccache_report
GNU_CONFIGURE= yes
CONFIGURE_ENV= INSTALL_PROGRAM="${INSTALL_SCRIPT}"
+#CONFIGURE_SHELL= ${LOCALBASE}/bin/bash # see https://github.com/verilator/verilator/issues/3132
TEST_TARGET= test
@@ -42,6 +41,10 @@ post-patch:
${REINPLACE_CMD} -e 's|@pkgconfigdir@|${PREFIX}/libdata/pkgconfig|' \
${WRKSRC}/Makefile.in
+pre-configure:
+ cd ${WRKSRC} && \
+ autoconf
+
post-build:
@${STRIP_CMD} ${WRKSRC}/bin/verilator_bin
diff --git a/cad/verilator/distinfo b/cad/verilator/distinfo
index 3f71f9bc0120..56f690379ab5 100644
--- a/cad/verilator/distinfo
+++ b/cad/verilator/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1629920311
-SHA256 (verilator-4.210.tgz) = 2a821f25e5766884e7c22076790810a386725df31ee9eac58862977b347e2018
-SIZE (verilator-4.210.tgz) = 3229756
-SHA256 (9907d211ff5fa408a7eb6387ef0ceaedaeea2d32.patch) = 52418f475136134e139e70fcdacaedd9f2baa1cd17daa5c0d7e72054dcf87024
-SIZE (9907d211ff5fa408a7eb6387ef0ceaedaeea2d32.patch) = 2303
+TIMESTAMP = 1631566759
+SHA256 (verilator-verilator-v4.212_GH0.tar.gz) = 7b655859e4e75c9673141aede8f5a20f47e4c380055d1a588d5be60cbbc73619
+SIZE (verilator-verilator-v4.212_GH0.tar.gz) = 2430634
diff --git a/cad/verilator/pkg-plist b/cad/verilator/pkg-plist
index 2ff34bcd3123..888a70ce3d55 100644
--- a/cad/verilator/pkg-plist
+++ b/cad/verilator/pkg-plist
@@ -71,6 +71,7 @@ man/man1/verilator_profcfunc.1.gz
%%DATADIR%%/include/verilated_fst_c.h
%%DATADIR%%/include/verilated_fst_sc.cpp
%%DATADIR%%/include/verilated_fst_sc.h
+%%DATADIR%%/include/verilated_funcs.h
%%DATADIR%%/include/verilated_heavy.h
%%DATADIR%%/include/verilated_imp.h
%%DATADIR%%/include/verilated_intrinsics.h
@@ -84,6 +85,7 @@ man/man1/verilator_profcfunc.1.gz
%%DATADIR%%/include/verilated_trace.h
%%DATADIR%%/include/verilated_trace_defs.h
%%DATADIR%%/include/verilated_trace_imp.cpp
+%%DATADIR%%/include/verilated_types.h
%%DATADIR%%/include/verilated_vcd_c.cpp
%%DATADIR%%/include/verilated_vcd_c.h
%%DATADIR%%/include/verilated_vcd_sc.cpp