svn commit: r548259 - head/cad/verilator
Yuri Victorovich
yuri at FreeBSD.org
Fri Sep 11 20:13:58 UTC 2020
Author: yuri
Date: Fri Sep 11 20:13:57 2020
New Revision: 548259
URL: https://svnweb.freebsd.org/changeset/ports/548259
Log:
cad/verilator: Add options INSTALL_DBG_EXECUTABLES and LEAK_CHECKS
Modified:
head/cad/verilator/Makefile
head/cad/verilator/pkg-plist
Modified: head/cad/verilator/Makefile
==============================================================================
--- head/cad/verilator/Makefile Fri Sep 11 20:11:24 2020 (r548258)
+++ head/cad/verilator/Makefile Fri Sep 11 20:13:57 2020 (r548259)
@@ -2,7 +2,7 @@
PORTNAME= verilator
DISTVERSION= 4.040
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= cad
MASTER_SITES= https://www.veripool.org/ftp/
@@ -23,6 +23,15 @@ 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
@@ -30,7 +39,7 @@ post-patch:
post-build:
@${STRIP_CMD} ${WRKSRC}/bin/verilator_bin
-post-install:
+post-install-INSTALL_DBG_EXECUTABLES-off:
@${RM} ${STAGEDIR}${PREFIX}/bin/verilator_bin_dbg ${STAGEDIR}${PREFIX}/bin/verilator_coverage_bin_dbg
.include <bsd.port.mk>
Modified: head/cad/verilator/pkg-plist
==============================================================================
--- head/cad/verilator/pkg-plist Fri Sep 11 20:11:24 2020 (r548258)
+++ head/cad/verilator/pkg-plist Fri Sep 11 20:13:57 2020 (r548259)
@@ -1,6 +1,8 @@
bin/verilator
bin/verilator_bin
+%%INSTALL_DBG_EXECUTABLES%%bin/verilator_bin_dbg
bin/verilator_coverage
+%%INSTALL_DBG_EXECUTABLES%%bin/verilator_coverage_bin_dbg
bin/verilator_gantt
bin/verilator_profcfunc
libdata/pkgconfig/verilator.pc
More information about the svn-ports-head
mailing list