summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2018-03-28 12:54:06 -0400
committerMike Gilbert <floppym@gentoo.org>2018-03-28 12:54:06 -0400
commit2ad501fd2410dbcb26467b3e5c723a9c80e7c51e (patch)
tree098394d1f98d5b94ae235c5b1bffb5af68397ff5 /sys-apps/xinetd
parentsys-apps/portage: version bump to 2.3.26 (diff)
downloadgentoo-2ad501fd2410dbcb26467b3e5c723a9c80e7c51e.tar.gz
gentoo-2ad501fd2410dbcb26467b3e5c723a9c80e7c51e.tar.bz2
gentoo-2ad501fd2410dbcb26467b3e5c723a9c80e7c51e.zip
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
Diffstat (limited to 'sys-apps/xinetd')
-rw-r--r--sys-apps/xinetd/xinetd-2.3.15.3.ebuild12
1 files 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 39c76db8e114..02ad304a23b1 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) \