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 3522E15800F for ; Tue, 17 Jan 2023 23:19:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 09D26E0855; Tue, 17 Jan 2023 23:19:14 +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 DA661E082B for ; Tue, 17 Jan 2023 23:19:13 +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 B2DA4340D73 for ; Tue, 17 Jan 2023 23:19:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4B17676A for ; Tue, 17 Jan 2023 23:19:10 +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: <1673997536.26d1d8ad875885a68b3f0de84c7f435bc57af2a5.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-process/lsof/lsof-4.97.0.ebuild X-VCS-Directories: sys-process/lsof/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 26d1d8ad875885a68b3f0de84c7f435bc57af2a5 X-VCS-Branch: master Date: Tue, 17 Jan 2023 23:19:10 +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: 2d425d90-7081-4a1c-aa91-606f1fd778f7 X-Archives-Hash: 33d974e6de6be153f71dd83e9026464b commit: 26d1d8ad875885a68b3f0de84c7f435bc57af2a5 Author: Sam James gentoo org> AuthorDate: Tue Jan 17 21:44:05 2023 +0000 Commit: Sam James gentoo org> CommitDate: Tue Jan 17 23:18:56 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26d1d8ad sys-process/lsof: fix finding RPC headers Signed-off-by: Sam James gentoo.org> sys-process/lsof/lsof-4.97.0.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys-process/lsof/lsof-4.97.0.ebuild b/sys-process/lsof/lsof-4.97.0.ebuild index ad7040fcc803..b99b7b47efa2 100644 --- a/sys-process/lsof/lsof-4.97.0.ebuild +++ b/sys-process/lsof/lsof-4.97.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools flag-o-matic +inherit autotools flag-o-matic toolchain-funcs MY_P="${P/-/_}" DESCRIPTION="Lists open files for running Unix processes" @@ -38,6 +38,10 @@ src_configure() { export ac_cv_header_rpc_rpc_h=$(usex rpc) export ac_cv_header_selinux_selinux_h=$(usex selinux) + if use rpc ; then + append-cppflags $(tc-getPKG_CONFIG) libtirpc --cflags) + fi + [[ ${CHOST} == *-solaris2.11 ]] && append-cppflags -DHAS_PAD_MUTEX econf