commit:     adeacceebb6a1ac395c69be6d3b3eac55e0fc316
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Tue Jun 25 04:42:32 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun 25 04:48:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adeaccee

dev-build/meson: actually commit the change to support release candidates

The manpage needs to be installed via the correct name as downloaded.
This was normally correct but for release candidates we need to map a
gentoo version to an upstream version. We did this at download time,
just not in src_install.

Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-build/meson/meson-1.5.0_rc1.ebuild | 2 +-
 dev-build/meson/meson-9999.ebuild      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-build/meson/meson-1.5.0_rc1.ebuild 
b/dev-build/meson/meson-1.5.0_rc1.ebuild
index b65657a09c33..2a1d8a788dbb 100644
--- a/dev-build/meson/meson-1.5.0_rc1.ebuild
+++ b/dev-build/meson/meson-1.5.0_rc1.ebuild
@@ -175,6 +175,6 @@ python_install_all() {
        if [[ ${PV} = *9999* ]]; then
                DESTDIR="${ED}" eninja -C docs/builddir install
        else
-               newman "${DISTDIR}"/meson-reference-${PV}.3 meson-reference.3
+               newman "${DISTDIR}"/meson-reference-${MY_PV}.3 meson-reference.3
        fi
 }

diff --git a/dev-build/meson/meson-9999.ebuild 
b/dev-build/meson/meson-9999.ebuild
index b65657a09c33..2a1d8a788dbb 100644
--- a/dev-build/meson/meson-9999.ebuild
+++ b/dev-build/meson/meson-9999.ebuild
@@ -175,6 +175,6 @@ python_install_all() {
        if [[ ${PV} = *9999* ]]; then
                DESTDIR="${ED}" eninja -C docs/builddir install
        else
-               newman "${DISTDIR}"/meson-reference-${PV}.3 meson-reference.3
+               newman "${DISTDIR}"/meson-reference-${MY_PV}.3 meson-reference.3
        fi
 }

Reply via email to