diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2017-11-01 19:47:47 +0100 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2017-11-01 19:48:08 +0100 |
commit | c9537d24d9ee4aee255724061ba2f6e381a26fe8 (patch) | |
tree | 4540697621904e821d6cca8b6262c7c0dd809dad /sys-apps/xinetd | |
parent | dev-libs/expat: 2.2.5 (diff) | |
download | gentoo-c9537d24d9ee4aee255724061ba2f6e381a26fe8.tar.gz gentoo-c9537d24d9ee4aee255724061ba2f6e381a26fe8.tar.bz2 gentoo-c9537d24d9ee4aee255724061ba2f6e381a26fe8.zip |
sys-apps/xinetd: Fix build with libtirpc, bug 630102
Closes: https://bugs.gentoo.org/630102
Package-Manager: Portage-2.3.13, Repoman-2.3.4
Diffstat (limited to 'sys-apps/xinetd')
-rw-r--r-- | sys-apps/xinetd/xinetd-2.3.15-r3.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-apps/xinetd/xinetd-2.3.15-r3.ebuild b/sys-apps/xinetd/xinetd-2.3.15-r3.ebuild index e0667ddfa98b..b22a4d57198e 100644 --- a/sys-apps/xinetd/xinetd-2.3.15-r3.ebuild +++ b/sys-apps/xinetd/xinetd-2.3.15-r3.ebuild @@ -30,11 +30,13 @@ src_prepare() { } src_configure() { - if ! use rpc ; then + tc-export AR PKG_CONFIG + if use rpc ; then + append-cflags $(${PKG_CONFIG} --cflags libtirpc) + else append-cppflags -DNO_RPC export ac_cv_header_{rpc_{rpc,rpcent,pmap_clnt},netdb}_h=no fi - tc-export AR PKG_CONFIG LIBS=$(${PKG_CONFIG} --libs libtirpc) \ econf \ $(use_with tcpd libwrap) \ |