summaryrefslogtreecommitdiff
path: root/app-text/texlive-core/texlive-core-2019-r4.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/texlive-core/texlive-core-2019-r4.ebuild')
-rw-r--r--app-text/texlive-core/texlive-core-2019-r4.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/app-text/texlive-core/texlive-core-2019-r4.ebuild b/app-text/texlive-core/texlive-core-2019-r4.ebuild
index 18c5e6f08a94..6005340d469e 100644
--- a/app-text/texlive-core/texlive-core-2019-r4.ebuild
+++ b/app-text/texlive-core/texlive-core-2019-r4.ebuild
@@ -167,6 +167,11 @@ src_configure() {
# that don't have the same alphabetical order than ascii. Bug #242430
# So we set LC_ALL to C in order to avoid problems.
export LC_ALL=C
+
+ # Disable freetype-config as this is considered obsolete.
+ # Also only pkg-config works for prefix as described in bug #690094
+ export ac_cv_prog_ac_ct_FT2_CONFIG=no
+
tc-export CC CXX AR RANLIB
ECONF_SOURCE="${B}" \
econf -C \
@@ -289,8 +294,8 @@ src_install() {
cd "${B}/texk/makeindexk" || die
dodoc ChangeLog NOTES README
- docinto web2c || die
- cd "${B}/texk/web2c"
+ docinto web2c
+ cd "${B}/texk/web2c" || die
dodoc ChangeLog NEWS PROJECTS README
use doc || rm -rf "${ED}/usr/share/texmf-dist/doc"