diff options
author | Huang Rui <vowstar@gmail.com> | 2023-11-15 14:52:21 +0800 |
---|---|---|
committer | Huang Rui <vowstar@gmail.com> | 2023-11-15 14:52:21 +0800 |
commit | 4523ada22940ce0e80aa7a48a585931473426cbe (patch) | |
tree | 6d8096305691efcec01661d1720590c1cea51689 /sci-electronics | |
parent | media-video/ytarchive: drop 0.3.2 (diff) | |
download | guru-4523ada22940ce0e80aa7a48a585931473426cbe.tar.gz guru-4523ada22940ce0e80aa7a48a585931473426cbe.tar.bz2 guru-4523ada22940ce0e80aa7a48a585931473426cbe.zip |
sci-electronics/verilator: fix UNKNOWN_REV version
https://github.com/verilator/verilator/issues/3352
Signed-off-by: Huang Rui <vowstar@gmail.com>
Diffstat (limited to 'sci-electronics')
4 files changed, 16 insertions, 0 deletions
diff --git a/sci-electronics/verilator/verilator-4.106.ebuild b/sci-electronics/verilator/verilator-4.106.ebuild index 74ea567ff..644cb0bfc 100644 --- a/sci-electronics/verilator/verilator-4.106.ebuild +++ b/sci-electronics/verilator/verilator-4.106.ebuild @@ -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 } diff --git a/sci-electronics/verilator/verilator-5.014.ebuild b/sci-electronics/verilator/verilator-5.014.ebuild index 74ea567ff..644cb0bfc 100644 --- a/sci-electronics/verilator/verilator-5.014.ebuild +++ b/sci-electronics/verilator/verilator-5.014.ebuild @@ -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 } diff --git a/sci-electronics/verilator/verilator-5.018.ebuild b/sci-electronics/verilator/verilator-5.018.ebuild index 74ea567ff..644cb0bfc 100644 --- a/sci-electronics/verilator/verilator-5.018.ebuild +++ b/sci-electronics/verilator/verilator-5.018.ebuild @@ -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 } diff --git a/sci-electronics/verilator/verilator-9999.ebuild b/sci-electronics/verilator/verilator-9999.ebuild index 74ea567ff..644cb0bfc 100644 --- a/sci-electronics/verilator/verilator-9999.ebuild +++ b/sci-electronics/verilator/verilator-9999.ebuild @@ -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 } |