summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-nds/rpcbind/rpcbind-9999.ebuild')
-rw-r--r--net-nds/rpcbind/rpcbind-9999.ebuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/net-nds/rpcbind/rpcbind-9999.ebuild b/net-nds/rpcbind/rpcbind-9999.ebuild
index a5e2f3f8bb81..a3b2d265b380 100644
--- a/net-nds/rpcbind/rpcbind-9999.ebuild
+++ b/net-nds/rpcbind/rpcbind-9999.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-nds/rpcbind/rpcbind-9999.ebuild,v 1.6 2011/09/21 08:18:29 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/rpcbind/rpcbind-9999.ebuild,v 1.7 2012/01/26 01:02:24 vapier Exp $
EAPI="2"
@@ -19,9 +19,11 @@ HOMEPAGE="http://sourceforge.net/projects/rpcbind/"
LICENSE="BSD"
SLOT="0"
-IUSE=""
+IUSE="selinux tcpd"
-RDEPEND="net-libs/libtirpc"
+RDEPEND="net-libs/libtirpc
+ selinux? ( sec-policy/selinux-rpcbind )
+ tcpd? ( sys-apps/tcp-wrappers )"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
@@ -35,7 +37,9 @@ src_prepare() {
}
src_configure() {
- econf --bindir=/sbin
+ econf \
+ --bindir=/sbin \
+ $(use_enable tcpd libwrap)
}
src_install() {