mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
cad/verilator: Fix wrong PYTHON3 path in installed makefile
PR: 269737
Reported by: Joel Bodenmann <jbo@insane.engineer>
(cherry picked from commit ce5ece1162
)
This commit is contained in:
parent
146bd43be5
commit
e2a6ef9db9
1 changed files with 5 additions and 2 deletions
|
@ -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} && \
|
||||
|
|
Loading…
Add table
Reference in a new issue