git: 6d28c13f7302 - main - cad/verilator: Use GNU ar from devel/binutils
Yuri Victorovich
yuri at FreeBSD.org
Thu Sep 30 16:11:49 UTC 2021
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6d28c13f73027d41d0a7e693861c2bcbe1d99309
commit 6d28c13f73027d41d0a7e693861c2bcbe1d99309
Author: Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-09-30 16:07:01 +0000
Commit: Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-09-30 16:10:42 +0000
cad/verilator: Use GNU ar from devel/binutils
verilator requires the GNU ar feature: '@' file prefix indicating
that the file contains command-line options.
Reference: https://github.com/verilator/verilator/issues/2999
Reported by: Antonin Houska <ah at melesmeles.cz>
---
cad/verilator/Makefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/cad/verilator/Makefile b/cad/verilator/Makefile
index 158d36ef5033..847047e51289 100644
--- a/cad/verilator/Makefile
+++ b/cad/verilator/Makefile
@@ -1,6 +1,7 @@
PORTNAME= verilator
DISTVERSIONPREFIX= v
DISTVERSION= 4.212
+PORTREVISION= 1
CATEGORIES= cad
MAINTAINER= yuri at FreeBSD.org
@@ -12,7 +13,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_i386= see https://github.com/verilator/verilator/issues/3037
BUILD_DEPENDS= autoconf>0:devel/autoconf \
- bash:shells/bash
+ bash:shells/bash \
+ ${LOCALBASE}/bin/ar:devel/binutils
LIB_DEPENDS= libsystemc.so:devel/systemc
RUN_DEPENDS= gmake:devel/gmake # verilator runs gmake for the --hierarchical option when the 'gmake' method is chosen
@@ -23,6 +25,7 @@ SHEBANG_FILES= bin/verilator_ccache_report
GNU_CONFIGURE= yes
CONFIGURE_ENV= INSTALL_PROGRAM="${INSTALL_SCRIPT}"
+CONFIGURE_ARGS= AR=${LOCALBASE}/bin/ar
CONFIGURE_SHELL= ${LOCALBASE}/bin/bash # see https://github.com/verilator/verilator/issues/3132
TEST_TARGET= test
More information about the dev-commits-ports-all
mailing list