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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E160B15808B for ; Tue, 29 Mar 2022 16:20:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0DCBEE0817; Tue, 29 Mar 2022 16:20:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 646F8E0817 for ; Tue, 29 Mar 2022 16:20:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 0636E34140B for ; Tue, 29 Mar 2022 16:20:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4D423AF for ; Tue, 29 Mar 2022 16:20:23 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1648570752.facc002a10724a0e31e298ccad90a3a3797f566a.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/sysvinit/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/sysvinit/sysvinit-3.02-r3.ebuild X-VCS-Directories: sys-apps/sysvinit/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: facc002a10724a0e31e298ccad90a3a3797f566a X-VCS-Branch: master Date: Tue, 29 Mar 2022 16:20:23 +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: 521e3fbb-b795-4c7f-b1e0-3e2112b7391c X-Archives-Hash: 50fb78cf59a3b53c7f81bdd00f89f6c6 commit: facc002a10724a0e31e298ccad90a3a3797f566a Author: Ionen Wolkens gentoo org> AuthorDate: Tue Mar 29 16:06:46 2022 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Tue Mar 29 16:19:12 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=facc002a sys-apps/sysvinit: fix build by skipping missing man pages Don't want to leave this broken for too long, nor do Revert Revert, so quickfixing myself. Unsure if ideal given several man pages are missing (perhaps man-pages-l10n was better). Bug: https://bugs.gentoo.org/836353 Closes: https://bugs.gentoo.org/836371 Signed-off-by: Ionen Wolkens gentoo.org> sys-apps/sysvinit/sysvinit-3.02-r3.ebuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sys-apps/sysvinit/sysvinit-3.02-r3.ebuild b/sys-apps/sysvinit/sysvinit-3.02-r3.ebuild index 2310e55f9f0a..19908235ef90 100644 --- a/sys-apps/sysvinit/sysvinit-3.02-r3.ebuild +++ b/sys-apps/sysvinit/sysvinit-3.02-r3.ebuild @@ -142,9 +142,10 @@ src_install() { if use nls && [[ -n "$(plocale_get_locales)" ]] ; then install_locale_man_pages() { - local locale=${1} - - doman -i18n=${locale} man/po/${locale}/* + local man=( man/po/${1}/* ) + if [[ -e ${man[0]} ]]; then #836353,836371 + doman -i18n=${1} "${man[@]}" + fi } plocale_for_each_locale install_locale_man_pages