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@melesmeles.cz>
This commit is contained in:
Yuri Victorovich 2021-09-30 09:07:01 -07:00
parent fc75da3a3b
commit 6d28c13f73

View file

@ -1,6 +1,7 @@
PORTNAME= verilator
DISTVERSIONPREFIX= v
DISTVERSION= 4.212
PORTREVISION= 1
CATEGORIES= cad
MAINTAINER= yuri@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