diff options
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 |