From owner-svn-ports-head@freebsd.org Fri Sep 11 20:13:58 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4A54C3E5298; Fri, 11 Sep 2020 20:13:58 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bp6Qt1FMJz3YZK; Fri, 11 Sep 2020 20:13:58 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0E3439539; Fri, 11 Sep 2020 20:13:58 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 08BKDvTV013393; Fri, 11 Sep 2020 20:13:57 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 08BKDvf7013391; Fri, 11 Sep 2020 20:13:57 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <202009112013.08BKDvf7013391@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Fri, 11 Sep 2020 20:13:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r548259 - head/cad/verilator X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/cad/verilator X-SVN-Commit-Revision: 548259 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2020 20:13:58 -0000 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 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