commit:     e8387da1f4d652ed6404a48d7dca5c4bae9f8e32
Author:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 22 16:53:15 2022 +0000
Commit:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Thu Dec 22 16:53:15 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8387da1

sci-chemistry/gromacs: Fix manual build

Closes: https://bugs.gentoo.org/887611
Closes: https://bugs.gentoo.org/887683
Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org>

 sci-chemistry/gromacs/gromacs-2023.9999.ebuild | 2 +-
 sci-chemistry/gromacs/gromacs-2023_rc1.ebuild  | 2 +-
 sci-chemistry/gromacs/gromacs-9999.ebuild      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-chemistry/gromacs/gromacs-2023.9999.ebuild 
b/sci-chemistry/gromacs/gromacs-2023.9999.ebuild
index c69ff70b99d3..36a9fd3ae771 100644
--- a/sci-chemistry/gromacs/gromacs-2023.9999.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2023.9999.ebuild
@@ -301,7 +301,7 @@ src_install() {
 
                if use doc; then
                        if [[ ${PV} != *9999* ]]; then
-                               newdoc "${DISTDIR}/manual-${PV}.pdf" 
"${PN}-manual-${PV}.pdf"
+                               newdoc "${DISTDIR}/manual-${PV/_/-}.pdf" 
"${PN}-manual-${PV}.pdf"
                        fi
                fi
        done

diff --git a/sci-chemistry/gromacs/gromacs-2023_rc1.ebuild 
b/sci-chemistry/gromacs/gromacs-2023_rc1.ebuild
index c69ff70b99d3..36a9fd3ae771 100644
--- a/sci-chemistry/gromacs/gromacs-2023_rc1.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2023_rc1.ebuild
@@ -301,7 +301,7 @@ src_install() {
 
                if use doc; then
                        if [[ ${PV} != *9999* ]]; then
-                               newdoc "${DISTDIR}/manual-${PV}.pdf" 
"${PN}-manual-${PV}.pdf"
+                               newdoc "${DISTDIR}/manual-${PV/_/-}.pdf" 
"${PN}-manual-${PV}.pdf"
                        fi
                fi
        done

diff --git a/sci-chemistry/gromacs/gromacs-9999.ebuild 
b/sci-chemistry/gromacs/gromacs-9999.ebuild
index c69ff70b99d3..36a9fd3ae771 100644
--- a/sci-chemistry/gromacs/gromacs-9999.ebuild
+++ b/sci-chemistry/gromacs/gromacs-9999.ebuild
@@ -301,7 +301,7 @@ src_install() {
 
                if use doc; then
                        if [[ ${PV} != *9999* ]]; then
-                               newdoc "${DISTDIR}/manual-${PV}.pdf" 
"${PN}-manual-${PV}.pdf"
+                               newdoc "${DISTDIR}/manual-${PV/_/-}.pdf" 
"${PN}-manual-${PV}.pdf"
                        fi
                fi
        done

Reply via email to