diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-18 05:56:19 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-18 05:56:19 +0000 |
commit | 3b34ca9eec2676e6fe530f34e463f52308a11441 (patch) | |
tree | 851348b7aaa208dd7852f8ddeb950b6395b2e1bc /sys-process/lsof/lsof-4.97.0.ebuild | |
parent | b8f9cc8d0880d028eb7536742f0042580b55a72e (diff) |
gentoo auto-resync : 18:01:2023 - 05:56:19
Diffstat (limited to 'sys-process/lsof/lsof-4.97.0.ebuild')
-rw-r--r-- | sys-process/lsof/lsof-4.97.0.ebuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys-process/lsof/lsof-4.97.0.ebuild b/sys-process/lsof/lsof-4.97.0.ebuild index ad7040fcc803..0fa9f25d0747 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" @@ -12,7 +12,7 @@ SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="lsof" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~ppc" IUSE="rpc selinux" RDEPEND=" @@ -38,6 +38,11 @@ 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) + append-libs $($(tc-getPKG_CONFIG) libtirpc --libs) + fi + [[ ${CHOST} == *-solaris2.11 ]] && append-cppflags -DHAS_PAD_MUTEX econf |