Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 2023 17:28:53 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: ce5ece116248 - main - cad/verilator: Fix wrong PYTHON3 path in installed makefile
Message-ID:  <202302211728.31LHSrO7009246@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=ce5ece11624823e643d415eabd3f7c1bc7995e5a

commit ce5ece11624823e643d415eabd3f7c1bc7995e5a
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-02-21 16:09:51 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-02-21 17:28:50 +0000

    cad/verilator: Fix wrong PYTHON3 path in installed makefile
    
    PR:             269737
    Reported by:    Joel Bodenmann <jbo@insane.engineer>
---
 cad/verilator/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/cad/verilator/Makefile b/cad/verilator/Makefile
index 99f30d42f600..d00ef47395dc 100644
--- a/cad/verilator/Makefile
+++ b/cad/verilator/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	verilator
 DISTVERSIONPREFIX=	v
 DISTVERSION=	5.006
+PORTREVISION=	1
 CATEGORIES=	cad
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -48,8 +49,10 @@ 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
+	@${REINPLACE_CMD} -e 's|AC_PATH_PROG(PYTHON3,python3)|AC_PATH_PROG(PYTHON3,${PYTHON_VERSION})|' \
+		${WRKSRC}/configure.ac # hack-workaround for https://github.com/verilator/verilator/issues/3970
+	@${REINPLACE_CMD} -e 's|@pkgconfigdir@|${PREFIX}/libdata/pkgconfig|' \
+		${WRKSRC}/Makefile.in
 
 pre-configure:
 	cd ${WRKSRC} && \



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