public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-alternatives/bzip2/
Date: Thu,  1 Dec 2022 19:38:43 +0000 (UTC)	[thread overview]
Message-ID: <1669923503.2dcc92ce6b5c947ea31350c635dcdce43fee527b.sam@gentoo> (raw)

commit:     2dcc92ce6b5c947ea31350c635dcdce43fee527b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  1 16:12:33 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Dec  1 19:38:23 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dcc92ce

app-alternatives/bzip2: Simplify by chaining manpage references

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/28494
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-alternatives/bzip2/{bzip2-0.ebuild => bzip2-1.ebuild} | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/app-alternatives/bzip2/bzip2-0.ebuild b/app-alternatives/bzip2/bzip2-1.ebuild
similarity index 82%
rename from app-alternatives/bzip2/bzip2-0.ebuild
rename to app-alternatives/bzip2/bzip2-1.ebuild
index 50e36d3cc7b2..6e61b5e2135d 100644
--- a/app-alternatives/bzip2/bzip2-0.ebuild
+++ b/app-alternatives/bzip2/bzip2-1.ebuild
@@ -30,22 +30,19 @@ src_install() {
 	if use lbzip2; then
 		dosym "${usr_prefix}lbzip2" /bin/bzip2
 		newman - bzip2.1 <<<".so lbzip2.1"
-		newman - bunzip2.1 <<<".so lbzip2.1"
-		newman - bzcat.1 <<<".so lbzip2.1"
 	elif use pbzip2; then
 		dosym "${usr_prefix}pbzip2" /bin/bzip2
 		newman - bzip2.1 <<<".so pbzip2.1"
-		newman - bunzip2.1 <<<".so pbzip2.1"
-		newman - bzcat.1 <<<".so pbzip2.1"
 	elif use reference; then
 		dosym bzip2-reference /bin/bzip2
 		newman - bzip2.1 <<<".so bzip2-reference.1"
-		newman - bunzip2.1 <<<".so bzip2-reference.1"
-		newman - bzcat.1 <<<".so bzip2-reference.1"
 	else
 		die "Invalid USE flag combination (broken REQUIRED_USE?)"
 	fi
 
 	dosym bzip2 /bin/bunzip2
 	dosym bzip2 /bin/bzcat
+
+	newman - bunzip2.1 <<<".so bzip2.1"
+	newman - bzcat.1 <<<".so bzip2.1"
 }


             reply	other threads:[~2022-12-01 19:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-01 19:38 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-12-05 19:13 [gentoo-commits] repo/gentoo:master commit in: app-alternatives/bzip2/ Michał Górny
2022-12-27 11:31 Sam James
2022-12-27 13:40 Sam James
2022-12-27 19:45 Sam James
2022-12-27 19:53 Sam James
2022-12-31 14:30 Fabian Groffen

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=1669923503.2dcc92ce6b5c947ea31350c635dcdce43fee527b.sam@gentoo \
    --to=sam@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