Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Sep 2021 16:11:48 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6d28c13f7302 - main - cad/verilator: Use GNU ar from devel/binutils
Message-ID:  <202109301611.18UGBmxM026493@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6d28c13f73027d41d0a7e693861c2bcbe1d99309

commit 6d28c13f73027d41d0a7e693861c2bcbe1d99309
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-09-30 16:07:01 +0000
Commit:     Yuri Victorovich <yuri@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@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109301611.18UGBmxM026493>