public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/tex-overlay:main commit in: dev-texlive/texlive-langjapanese/
Date: Sat,  7 Dec 2024 13:20:34 +0000 (UTC)	[thread overview]
Message-ID: <1733577623.e772cac2087163e3b0072994cdf48b4f6d99df70.flow@gentoo> (raw)

commit:     e772cac2087163e3b0072994cdf48b4f6d99df70
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  7 13:20:23 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sat Dec  7 13:20:23 2024 +0000
URL:        https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=e772cac2

dev-texlive/texlive-langjapanese: only remove man page if USE=doc

Bug: https://bugs.gentoo.org/946051
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 .../texlive-langjapanese/texlive-langjapanese-2024_p72817.ebuild   | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-texlive/texlive-langjapanese/texlive-langjapanese-2024_p72817.ebuild b/dev-texlive/texlive-langjapanese/texlive-langjapanese-2024_p72817.ebuild
index 670d13f..c63634d 100644
--- a/dev-texlive/texlive-langjapanese/texlive-langjapanese-2024_p72817.ebuild
+++ b/dev-texlive/texlive-langjapanese/texlive-langjapanese-2024_p72817.ebuild
@@ -181,6 +181,9 @@ src_prepare() {
 	# e(u)ptex are installed by texlive-core[cjk]
 	sed -i '/AddFormat name=eptex /d' tlpkg/tlpobj/ptex.tlpobj || die
 	sed -i '/AddFormat name=euptex /d' tlpkg/tlpobj/uptex.tlpobj || die
-	# ptekf.1 is installed by dev-libs/ptexenc
-	rm texmf-dist/doc/man/man1/ptekf.1 || die
+
+	if use doc; then
+		# ptekf.1 is installed by dev-libs/ptexenc
+		rm texmf-dist/doc/man/man1/ptekf.1 || die
+	fi
 }


             reply	other threads:[~2024-12-07 13:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-07 13:20 Florian Schmaus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-06 10:36 [gentoo-commits] proj/tex-overlay:main commit in: dev-texlive/texlive-langjapanese/ Florian Schmaus
2024-11-22 17:25 Florian Schmaus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1733577623.e772cac2087163e3b0072994cdf48b4f6d99df70.flow@gentoo \
    --to=flow@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox