From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 342191396D9 for ; Wed, 1 Nov 2017 18:48:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6C8612BC0CA; Wed, 1 Nov 2017 18:48:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4BE5B2BC0CA for ; Wed, 1 Nov 2017 18:48:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 55C0E341783 for ; Wed, 1 Nov 2017 18:48:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EAB089169 for ; Wed, 1 Nov 2017 18:48:17 +0000 (UTC) From: "Andreas Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Hüttel" Message-ID: <1509562088.c9537d24d9ee4aee255724061ba2f6e381a26fe8.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/xinetd/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/xinetd/xinetd-2.3.15-r3.ebuild X-VCS-Directories: sys-apps/xinetd/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas Hüttel X-VCS-Revision: c9537d24d9ee4aee255724061ba2f6e381a26fe8 X-VCS-Branch: master Date: Wed, 1 Nov 2017 18:48:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 3f4ab305-f5ee-49ad-8cf7-ed1c07d3a03f X-Archives-Hash: 817d9844b0f180eb1f26924391c0c315 commit: c9537d24d9ee4aee255724061ba2f6e381a26fe8 Author: Andreas K. Hüttel gentoo org> AuthorDate: Wed Nov 1 18:47:47 2017 +0000 Commit: Andreas Hüttel gentoo org> CommitDate: Wed Nov 1 18:48:08 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9537d24 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 sys-apps/xinetd/xinetd-2.3.15-r3.ebuild | 6 ++++-- 1 file 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 e0667ddfa98..b22a4d57198 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) \