commit: 2ad501fd2410dbcb26467b3e5c723a9c80e7c51e Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> AuthorDate: Wed Mar 28 16:54:06 2018 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Wed Mar 28 16:54:06 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ad501fd
sys-apps/xinetd: depend on libtirpc unconditionally on Linux confparse.c includes rpc/rpc.h unconditionally. Closes: https://bugs.gentoo.org/651838 Package-Manager: Portage-2.3.24, Repoman-2.3.6_p81 sys-apps/xinetd/xinetd-2.3.15.3.ebuild | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/sys-apps/xinetd/xinetd-2.3.15.3.ebuild b/sys-apps/xinetd/xinetd-2.3.15.3.ebuild index 39c76db8e11..02ad304a23b 100644 --- a/sys-apps/xinetd/xinetd-2.3.15.3.ebuild +++ b/sys-apps/xinetd/xinetd-2.3.15.3.ebuild @@ -11,11 +11,11 @@ SRC_URI="${HOMEPAGE}/releases/download/${PV}/${P}.tar.xz" LICENSE="BSD" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" -IUSE="perl rpc selinux tcpd" +IUSE="perl selinux tcpd" DEPEND=" selinux? ( sys-libs/libselinux ) - rpc? ( net-libs/libtirpc:= ) + kernel_linux? ( net-libs/libtirpc:= ) tcpd? ( >=sys-apps/tcp-wrappers-7.6-r2 ) " RDEPEND=" @@ -33,14 +33,6 @@ src_prepare() { } src_configure() { - 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 - LIBS=$(${PKG_CONFIG} --libs libtirpc) \ econf \ $(use_with tcpd libwrap) \ $(use_with selinux labeled-networking) \
