diff options
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/mathematica/mathematica-10.3.1-r1.ebuild | 4 | ||||
-rw-r--r-- | sci-mathematics/mathematica/mathematica-12.1.1-r1.ebuild | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/sci-mathematics/mathematica/mathematica-10.3.1-r1.ebuild b/sci-mathematics/mathematica/mathematica-10.3.1-r1.ebuild index d5e4aec9ca12..6abf0f35a7dd 100644 --- a/sci-mathematics/mathematica/mathematica-10.3.1-r1.ebuild +++ b/sci-mathematics/mathematica/mathematica-10.3.1-r1.ebuild @@ -42,6 +42,10 @@ src_unpack() { src_install() { local ARCH='-x86-64' + einfo 'Removing MacOS- and Windows-specific files' + find AddOns SystemFiles -type d -\( -name Windows -o -name Windows-x86-64 \ + -o -name MacOSX -o -name MacOSX-x86-64 -\) -delete + if ! use doc; then einfo "Removing documentation" rm -r "${S}/${M_TARGET}/Documentation" diff --git a/sci-mathematics/mathematica/mathematica-12.1.1-r1.ebuild b/sci-mathematics/mathematica/mathematica-12.1.1-r1.ebuild index d5e4aec9ca12..b15d9ff67885 100644 --- a/sci-mathematics/mathematica/mathematica-12.1.1-r1.ebuild +++ b/sci-mathematics/mathematica/mathematica-12.1.1-r1.ebuild @@ -47,6 +47,10 @@ src_install() { rm -r "${S}/${M_TARGET}/Documentation" fi + einfo 'Removing MacOS- and Windows-specific files' + find AddOns SystemFiles -type d -\( -name Windows -o -name Windows-x86-64 \ + -o -name MacOSX -o -name MacOSX-x86-64 -\) -delete + # move all over mv "${S}"/opt "${D}"/opt || die |