diff --git a/cad/verilator/Makefile b/cad/verilator/Makefile index 7cecedcda41b..5f7e8d0323f2 100644 --- a/cad/verilator/Makefile +++ b/cad/verilator/Makefile @@ -1,47 +1,51 @@ PORTNAME= verilator DISTVERSION= 4.210 +PORTREVISION= 1 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 LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_i386= see https://github.com/verilator/verilator/issues/3037 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 SHEBANG_FILES= bin/verilator_ccache_report GNU_CONFIGURE= yes CONFIGURE_ENV= INSTALL_PROGRAM="${INSTALL_SCRIPT}" TEST_TARGET= test BINARY_ALIAS= make=${GMAKE} python3=${PYTHON_CMD} # aliasas are only for tests OPTIONS_DEFINE= INSTALL_DBG_EXECUTABLES LEAK_CHECKS OPTIONS_SUB= yes INSTALL_DBG_EXECUTABLES_DESC= Install *_dbg executables LEAK_CHECKS_DESC= Disable intentional memory leaks LEAK_CHECKS_CXXFLAGS= -DVL_LEAK_CHECKS LEAK_CHECKS_BROKEN= compilation will be fixed in the next release post-patch: ${REINPLACE_CMD} -e 's|@pkgconfigdir@|${PREFIX}/libdata/pkgconfig|' \ ${WRKSRC}/Makefile.in post-build: @${STRIP_CMD} ${WRKSRC}/bin/verilator_bin post-install-INSTALL_DBG_EXECUTABLES-off: @${RM} ${STAGEDIR}${PREFIX}/bin/verilator_bin_dbg ${STAGEDIR}${PREFIX}/bin/verilator_coverage_bin_dbg .include diff --git a/cad/verilator/distinfo b/cad/verilator/distinfo index cb22cc780c7a..3f71f9bc0120 100644 --- a/cad/verilator/distinfo +++ b/cad/verilator/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1627977232 +TIMESTAMP = 1629920311 SHA256 (verilator-4.210.tgz) = 2a821f25e5766884e7c22076790810a386725df31ee9eac58862977b347e2018 SIZE (verilator-4.210.tgz) = 3229756 +SHA256 (9907d211ff5fa408a7eb6387ef0ceaedaeea2d32.patch) = 52418f475136134e139e70fcdacaedd9f2baa1cd17daa5c0d7e72054dcf87024 +SIZE (9907d211ff5fa408a7eb6387ef0ceaedaeea2d32.patch) = 2303