commit: b6f00c5af2f20400b53a91fc63a9cbd1390da370
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 13 15:48:40 2024 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Nov 13 15:49:11 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6f00c5a
sci-mathematics/mathematica: "fix" sandbox violation
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
sci-mathematics/mathematica/mathematica-14.1.0.ebuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sci-mathematics/mathematica/mathematica-14.1.0.ebuild
b/sci-mathematics/mathematica/mathematica-14.1.0.ebuild
index 9bf69ece025a..5bb3f3dad8d4 100644
--- a/sci-mathematics/mathematica/mathematica-14.1.0.ebuild
+++ b/sci-mathematics/mathematica/mathematica-14.1.0.ebuild
@@ -86,6 +86,10 @@ src_install() {
# fix ACCESS DENIED issue when installing documentation
sed -e "s|\(exec ./WolframInstaller\) -noprompt|\1 -auto
-targetdir=${S}/${M_TARGET}/Documentation -noexec|" -i
"Unix/Installer/WolframInstaller" || die
+ # in the depths of the installer it tests whether it can write here
+ # addpredict is by far the simplest solution
+ addpredict /usr/share/thisisatest
+
/bin/sh "Unix/Installer/WolframInstaller" -auto
"-targetdir=${S}/${M_TARGET}" "-execdir=${S}/opt/bin" || die
popd > /dev/null || die