From 0ade25a7a8793d8ee585ab5bf4e69fb4b5c8ad99 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Wed, 6 Mar 2024 10:30:10 +0100 Subject: [PATCH] app-text/texlive-core: make rm conditional, only enable uptex if USE=cjk, style fixes Signed-off-by: Florian Schmaus --- ...e-core-2023-r2.ebuild => texlive-core-2023-r3.ebuild} | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) rename app-text/texlive-core/{texlive-core-2023-r2.ebuild => texlive-core-2023-r3.ebuild} (98%) diff --git a/app-text/texlive-core/texlive-core-2023-r2.ebuild b/app-text/texlive-core/texlive-core-2023-r3.ebuild similarity index 98% rename from app-text/texlive-core/texlive-core-2023-r2.ebuild rename to app-text/texlive-core/texlive-core-2023-r3.ebuild index 829ec0c41671e..634b0b626b9c2 100644 --- a/app-text/texlive-core/texlive-core-2023-r2.ebuild +++ b/app-text/texlive-core/texlive-core-2023-r3.ebuild @@ -21,7 +21,7 @@ SRC_URI=" " # Macros that are not a part of texlive-sources or or pulled in from collection-binextra -# but still needed for other packages during installation +# but still needed for other packages during installation. TL_CORE_EXTRA_CONTENTS=" autosp.r58211 axodraw2.r58155 @@ -304,7 +304,6 @@ src_configure() { $(use_with X x) $(use_enable xindy) --enable-ptex=no - --enable-uptex=no --enable-autosp=yes --enable-axodraw2=yes --enable-devnag=yes @@ -415,7 +414,9 @@ src_install() { # by texmf-update rm "${ED}${TEXMF_PATH}/web2c/fmtutil.cnf" || die - rm "${ED}/usr/bin/"{,u}ptex || die + if use cjk; then + rm "${ED}/usr/bin/"{,u}ptex || die + fi dobin_texmf_scripts ${TEXLIVE_MODULE_BINSCRIPTS} @@ -427,7 +428,7 @@ src_install() { done # https://bugs.gentoo.org/832139 - rm "${ED}"/usr/bin/tlmgr || die + rm "${ED}"/usr/bin/tlmgr || die texlive-common_handle_config_files