public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Takuya Wakazono" <pastalian46@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-roguelike/cataclysm-dda/
Date: Wed, 15 Jan 2025 13:54:11 +0000 (UTC)	[thread overview]
Message-ID: <1736949226.6b48c03d3cdad7c3d3854ac8548b76096ad16c91.pastalian46@gentoo> (raw)

commit:     6b48c03d3cdad7c3d3854ac8548b76096ad16c91
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Wed Jan 15 13:53:46 2025 +0000
Commit:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Wed Jan 15 13:53:46 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6b48c03d

games-roguelike/cataclysm-dda: fix build without USE=doc

`use doc && something || die` fails when doc flag is disabled.

Closes: https://bugs.gentoo.org/948137
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 games-roguelike/cataclysm-dda/cataclysm-dda-0h.ebuild   | 4 +++-
 games-roguelike/cataclysm-dda/cataclysm-dda-9999.ebuild | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/games-roguelike/cataclysm-dda/cataclysm-dda-0h.ebuild b/games-roguelike/cataclysm-dda/cataclysm-dda-0h.ebuild
index eb07fc880..231250609 100644
--- a/games-roguelike/cataclysm-dda/cataclysm-dda-0h.ebuild
+++ b/games-roguelike/cataclysm-dda/cataclysm-dda-0h.ebuild
@@ -122,7 +122,9 @@ src_compile() {
 
 	use nls && export LANGUAGES="all"
 
-	use doc && doxygen doxygen_doc/doxygen_conf.txt || die "Failed to generate docs"
+	if use doc; then
+		doxygen doxygen_doc/doxygen_conf.txt || die "Failed to generate docs"
+	fi
 
 	if use ncurses; then
 		# don't build tests twice

diff --git a/games-roguelike/cataclysm-dda/cataclysm-dda-9999.ebuild b/games-roguelike/cataclysm-dda/cataclysm-dda-9999.ebuild
index b8428c2f5..7d79bbd73 100644
--- a/games-roguelike/cataclysm-dda/cataclysm-dda-9999.ebuild
+++ b/games-roguelike/cataclysm-dda/cataclysm-dda-9999.ebuild
@@ -116,7 +116,9 @@ src_compile() {
 
 	use nls && export LANGUAGES="all"
 
-	use doc && doxygen doxygen_doc/doxygen_conf.txt || die "Failed to generate docs"
+	if use doc; then
+		doxygen doxygen_doc/doxygen_conf.txt || die "Failed to generate docs"
+	fi
 
 	if use ncurses; then
 		# don't build tests twice


             reply	other threads:[~2025-01-15 13:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-15 13:54 Takuya Wakazono [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-02 11:42 [gentoo-commits] repo/proj/guru:dev commit in: games-roguelike/cataclysm-dda/ strategictraveler
2025-02-01 20:07 strategictraveler
2025-02-01 20:07 strategictraveler
2025-02-01 20:07 strategictraveler
2025-01-14 11:58 strategictraveler
2025-01-03 17:49 strategictraveler
2024-12-24 19:27 strategictraveler
2024-12-24 10:10 strategictraveler
2024-12-22 13:57 Takuya Wakazono
2024-12-13 14:15 Takuya Wakazono
2024-12-11 13:23 Takuya Wakazono
2024-12-11 12:13 Takuya Wakazono

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=1736949226.6b48c03d3cdad7c3d3854ac8548b76096ad16c91.pastalian46@gentoo \
    --to=pastalian46@gmail.com \
    --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