commit:     33ba20bbaf5d25f90de2dc1ee6d435cacc0b60ae
Author:     Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Sat Dec 27 06:58:23 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 10 12:46:17 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33ba20bb

sci-mathematics/mathematica: fix wrong doc location with USE="-doc"

Closes: https://bugs.gentoo.org/967993
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/45176
Closes: https://github.com/gentoo/gentoo/pull/45176
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{mathematica-14.2.1.ebuild => mathematica-14.2.1-r1.ebuild}         | 2 +-
 .../{mathematica-14.3.0.ebuild => mathematica-14.3.0-r1.ebuild}         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-mathematics/mathematica/mathematica-14.2.1.ebuild 
b/sci-mathematics/mathematica/mathematica-14.2.1-r1.ebuild
similarity index 99%
rename from sci-mathematics/mathematica/mathematica-14.2.1.ebuild
rename to sci-mathematics/mathematica/mathematica-14.2.1-r1.ebuild
index cdff09c5ee58..b51bcdbdc6ab 100644
--- a/sci-mathematics/mathematica/mathematica-14.2.1.ebuild
+++ b/sci-mathematics/mathematica/mathematica-14.2.1-r1.ebuild
@@ -107,7 +107,7 @@ src_install() {
 
        if ! use doc; then
                einfo "Removing documentation"
-               rm -r "${S}/usr/share/Wolfram/Documentation/${MPV}/en-us" || die
+               rm -r 
"${S}/opt/Wolfram/Mathematica/${MPV}/Documentation/English" || die
        fi
 
        # fix world writable file QA problem for files

diff --git a/sci-mathematics/mathematica/mathematica-14.3.0.ebuild 
b/sci-mathematics/mathematica/mathematica-14.3.0-r1.ebuild
similarity index 99%
rename from sci-mathematics/mathematica/mathematica-14.3.0.ebuild
rename to sci-mathematics/mathematica/mathematica-14.3.0-r1.ebuild
index 24f9206d66b5..9c224a667139 100644
--- a/sci-mathematics/mathematica/mathematica-14.3.0.ebuild
+++ b/sci-mathematics/mathematica/mathematica-14.3.0-r1.ebuild
@@ -107,7 +107,7 @@ src_install() {
 
        if ! use doc; then
                einfo "Removing documentation"
-               rm -r "${S}/usr/share/Wolfram/Documentation/${MPV}/en-us" || die
+               rm -r 
"${S}/opt/Wolfram/Mathematica/${MPV}/Documentation/English" || die
        fi
 
        # fix world writable file QA problem for files

Reply via email to