From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EB4531581F0 for ; Wed, 15 Jan 2025 13:54:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D436AE075F; Wed, 15 Jan 2025 13:54:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9D787E075F for ; Wed, 15 Jan 2025 13:54:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0335F342FED for ; Wed, 15 Jan 2025 13:54:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2BD8120A3 for ; Wed, 15 Jan 2025 13:54:11 +0000 (UTC) From: "Takuya Wakazono" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Takuya Wakazono" Message-ID: <1736949226.6b48c03d3cdad7c3d3854ac8548b76096ad16c91.pastalian46@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-roguelike/cataclysm-dda/ X-VCS-Repository: repo/proj/guru X-VCS-Files: games-roguelike/cataclysm-dda/cataclysm-dda-0h.ebuild games-roguelike/cataclysm-dda/cataclysm-dda-9999.ebuild X-VCS-Directories: games-roguelike/cataclysm-dda/ X-VCS-Committer: pastalian46 X-VCS-Committer-Name: Takuya Wakazono X-VCS-Revision: 6b48c03d3cdad7c3d3854ac8548b76096ad16c91 X-VCS-Branch: dev Date: Wed, 15 Jan 2025 13:54:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 99a1e743-2295-4044-ac33-5e7252d22c51 X-Archives-Hash: 1ebd016135bbb6f4d86885492e3670da commit: 6b48c03d3cdad7c3d3854ac8548b76096ad16c91 Author: Takuya Wakazono gmail com> AuthorDate: Wed Jan 15 13:53:46 2025 +0000 Commit: Takuya Wakazono gmail 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 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