summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-01-17 23:18:21 +0000
committerSam James <sam@gentoo.org>2023-01-17 23:18:56 +0000
commit7f39b8270a96b374e00fea55ed3d47982987fd45 (patch)
tree27eb9fe9ad434c717b54ca9c1292426caa5522ee /sys-process
parentsys-process/lsof: fix finding RPC headers (diff)
downloadgentoo-7f39b8270a96b374e00fea55ed3d47982987fd45.tar.gz
gentoo-7f39b8270a96b374e00fea55ed3d47982987fd45.tar.bz2
gentoo-7f39b8270a96b374e00fea55ed3d47982987fd45.zip
sys-process/lsof: fix build w/ USE=rpc
Closes: https://bugs.gentoo.org/891249 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/lsof/lsof-4.97.0.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-process/lsof/lsof-4.97.0.ebuild b/sys-process/lsof/lsof-4.97.0.ebuild
index b99b7b47efa2..5bcf95c0223f 100644
--- a/sys-process/lsof/lsof-4.97.0.ebuild
+++ b/sys-process/lsof/lsof-4.97.0.ebuild
@@ -39,7 +39,8 @@ src_configure() {
export ac_cv_header_selinux_selinux_h=$(usex selinux)
if use rpc ; then
- append-cppflags $(tc-getPKG_CONFIG) libtirpc --cflags)
+ append-cppflags $($(tc-getPKG_CONFIG) libtirpc --cflags)
+ append-libs $($(tc-getPKG_CONFIG) libtirpc --libs)
fi
[[ ${CHOST} == *-solaris2.11 ]] && append-cppflags -DHAS_PAD_MUTEX