sci-electronics/verilator: fix UNKNOWN_REV version

https://github.com/verilator/verilator/issues/3352

Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
Huang Rui
2023-11-15 14:52:21 +08:00
parent 48bf7f7c15
commit 4523ada229
4 changed files with 16 additions and 0 deletions

View File

@@ -38,5 +38,9 @@ BDEPEND="
src_prepare() {
default
if [[ ! "${PV}" == "9999" ]] ; then
# https://github.com/verilator/verilator/issues/3352
sed -i "s/UNKNOWN_REV/(Gentoo ${PVR})/g" "${S}"/src/config_rev || die
fi
eautoconf --force
}

View File

@@ -38,5 +38,9 @@ BDEPEND="
src_prepare() {
default
if [[ ! "${PV}" == "9999" ]] ; then
# https://github.com/verilator/verilator/issues/3352
sed -i "s/UNKNOWN_REV/(Gentoo ${PVR})/g" "${S}"/src/config_rev || die
fi
eautoconf --force
}

View File

@@ -38,5 +38,9 @@ BDEPEND="
src_prepare() {
default
if [[ ! "${PV}" == "9999" ]] ; then
# https://github.com/verilator/verilator/issues/3352
sed -i "s/UNKNOWN_REV/(Gentoo ${PVR})/g" "${S}"/src/config_rev || die
fi
eautoconf --force
}

View File

@@ -38,5 +38,9 @@ BDEPEND="
src_prepare() {
default
if [[ ! "${PV}" == "9999" ]] ; then
# https://github.com/verilator/verilator/issues/3352
sed -i "s/UNKNOWN_REV/(Gentoo ${PVR})/g" "${S}"/src/config_rev || die
fi
eautoconf --force
}