Diff mathematica-10.3.1-r1 with a mathematica-10.3.1-r2
| /usr/portage/sci-mathematics/mathematica/mathematica-10.3.1-r2.ebuild 2024-12-25 14:59:52.723270181 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2020 Gentoo Authors |
|
| 1 |
# Copyright 1999-2024 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=7 |
| ... | ... | |
| 22 | 22 |
# explicitly override with LD_PRELOAD. |
| 23 | 23 |
RDEPEND=" |
| 24 | 24 |
media-libs/freetype |
| 25 |
media-libs/harfbuzz |
|
| 25 | 26 |
" |
| 26 | 27 | |
| 27 | 28 |
# we need this a few times |
| ... | ... | |
| 61 | 62 |
for name in ${M_BINARIES} ; do
|
| 62 | 63 |
einfo "Generating wrapper for ${name}"
|
| 63 | 64 |
echo '#!/bin/sh' >> "${T}/${name}"
|
| 64 |
echo "LD_PRELOAD=/usr/$(get_libdir)/libfreetype.so.6:/$(get_libdir)/libz.so.1 /${M_TARGET}/Executables/${name} \$*" \
|
|
| 65 |
echo "LD_PRELOAD=/usr/$(get_libdir)/libharfbuzz.so.0:/usr/$(get_libdir)/libfreetype.so.6:/$(get_libdir)/libz.so.1 /${M_TARGET}/Executables/${name} \$*" \
|
|
| 65 | 66 |
>> "${T}/${name}"
|
| 66 | 67 |
dobin "${T}/${name}"
|
| 67 | 68 |
done |