1 |
commit: c9537d24d9ee4aee255724061ba2f6e381a26fe8 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 1 18:47:47 2017 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 1 18:48:08 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9537d24 |
7 |
|
8 |
sys-apps/xinetd: Fix build with libtirpc, bug 630102 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/630102 |
11 |
Package-Manager: Portage-2.3.13, Repoman-2.3.4 |
12 |
|
13 |
sys-apps/xinetd/xinetd-2.3.15-r3.ebuild | 6 ++++-- |
14 |
1 file changed, 4 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/sys-apps/xinetd/xinetd-2.3.15-r3.ebuild b/sys-apps/xinetd/xinetd-2.3.15-r3.ebuild |
17 |
index e0667ddfa98..b22a4d57198 100644 |
18 |
--- a/sys-apps/xinetd/xinetd-2.3.15-r3.ebuild |
19 |
+++ b/sys-apps/xinetd/xinetd-2.3.15-r3.ebuild |
20 |
@@ -30,11 +30,13 @@ src_prepare() { |
21 |
} |
22 |
|
23 |
src_configure() { |
24 |
- if ! use rpc ; then |
25 |
+ tc-export AR PKG_CONFIG |
26 |
+ if use rpc ; then |
27 |
+ append-cflags $(${PKG_CONFIG} --cflags libtirpc) |
28 |
+ else |
29 |
append-cppflags -DNO_RPC |
30 |
export ac_cv_header_{rpc_{rpc,rpcent,pmap_clnt},netdb}_h=no |
31 |
fi |
32 |
- tc-export AR PKG_CONFIG |
33 |
LIBS=$(${PKG_CONFIG} --libs libtirpc) \ |
34 |
econf \ |
35 |
$(use_with tcpd libwrap) \ |