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 DA0E4158066 for ; Thu, 15 Aug 2024 00:26:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D60C9E2A2C; Thu, 15 Aug 2024 00:26:44 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B472FE2A2C for ; Thu, 15 Aug 2024 00:26:44 +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 9F282342F92 for ; Thu, 15 Aug 2024 00:26:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D63681EED for ; Thu, 15 Aug 2024 00:26:41 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1723681576.182d0bcc12df904e8ab40dcb902c555a1aed34e5.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/kmod/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/kmod/kmod-33.ebuild sys-apps/kmod/kmod-9999.ebuild X-VCS-Directories: sys-apps/kmod/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 182d0bcc12df904e8ab40dcb902c555a1aed34e5 X-VCS-Branch: master Date: Thu, 15 Aug 2024 00:26:41 +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: dc1b86e2-875e-40d0-9df1-106deabbf43f X-Archives-Hash: f5267752a67d562535caa786ff82be86 commit: 182d0bcc12df904e8ab40dcb902c555a1aed34e5 Author: Sam James gentoo org> AuthorDate: Thu Aug 15 00:25:37 2024 +0000 Commit: Sam James gentoo org> CommitDate: Thu Aug 15 00:26:16 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=182d0bcc sys-apps/kmod: workaround broken man dist logic The man pages are in the dist but if they're not set to be *built*, the directory isn't recursed into. Workaround that in src_install. Closes: https://bugs.gentoo.org/937942 Signed-off-by: Sam James gentoo.org> sys-apps/kmod/kmod-33.ebuild | 10 ++++++++++ sys-apps/kmod/kmod-9999.ebuild | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/sys-apps/kmod/kmod-33.ebuild b/sys-apps/kmod/kmod-33.ebuild index 3b1e8cdb68ca..b9af14296739 100644 --- a/sys-apps/kmod/kmod-33.ebuild +++ b/sys-apps/kmod/kmod-33.ebuild @@ -91,12 +91,22 @@ src_configure() { $(use_with zstd) ) + if [[ ${PV} != 9999 ]] ; then + # See src_install + myeconfargs+=( --disable-manpages ) + fi + econf "${myeconfargs[@]}" } src_install() { default + if [[ ${PV} != 9999 ]] ; then + # The dist logic is broken but the files are in there (bug #937942) + emake -C man DESTDIR="${D}" install + fi + find "${ED}" -type f -name "*.la" -delete || die if use tools; then diff --git a/sys-apps/kmod/kmod-9999.ebuild b/sys-apps/kmod/kmod-9999.ebuild index 3b1e8cdb68ca..b9af14296739 100644 --- a/sys-apps/kmod/kmod-9999.ebuild +++ b/sys-apps/kmod/kmod-9999.ebuild @@ -91,12 +91,22 @@ src_configure() { $(use_with zstd) ) + if [[ ${PV} != 9999 ]] ; then + # See src_install + myeconfargs+=( --disable-manpages ) + fi + econf "${myeconfargs[@]}" } src_install() { default + if [[ ${PV} != 9999 ]] ; then + # The dist logic is broken but the files are in there (bug #937942) + emake -C man DESTDIR="${D}" install + fi + find "${ED}" -type f -name "*.la" -delete || die if use tools; then