summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-29 09:20:09 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-29 09:20:09 +0000
commit55e4ef3a2f9c67a014495474e81b271d112c1256 (patch)
tree39530433c849ca9a8aa0c4560667c06361575125 /sys-apps/xinetd/xinetd-2.3.14.ebuild
parentOctavio Ruiz: force automake 1.9 instead of 1.8 #120351 by Ginsu (diff)
downloadgentoo-2-55e4ef3a2f9c67a014495474e81b271d112c1256.tar.gz
gentoo-2-55e4ef3a2f9c67a014495474e81b271d112c1256.tar.bz2
gentoo-2-55e4ef3a2f9c67a014495474e81b271d112c1256.zip
Make perl depend optional #120565 by Natanael Copa.
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'sys-apps/xinetd/xinetd-2.3.14.ebuild')
-rw-r--r--sys-apps/xinetd/xinetd-2.3.14.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys-apps/xinetd/xinetd-2.3.14.ebuild b/sys-apps/xinetd/xinetd-2.3.14.ebuild
index c015b8fef69b..21e32071f347 100644
--- a/sys-apps/xinetd/xinetd-2.3.14.ebuild
+++ b/sys-apps/xinetd/xinetd-2.3.14.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/xinetd/xinetd-2.3.14.ebuild,v 1.2 2005/11/03 00:57:33 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/xinetd/xinetd-2.3.14.ebuild,v 1.3 2006/01/29 09:20:09 vapier Exp $
inherit eutils
@@ -11,11 +11,11 @@ SRC_URI="http://www.xinetd.org/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="tcpd"
+IUSE="perl tcpd"
DEPEND="tcpd? ( >=sys-apps/tcp-wrappers-7.6-r2 )"
RDEPEND="${DEPEND}
- dev-lang/perl"
+ perl? ( dev-lang/perl )"
PROVIDE="virtual/inetd"
src_unpack() {
@@ -36,6 +36,7 @@ src_compile() {
src_install() {
make install install-contrib DESTDIR="${D}" || die "failed install"
+ use perl || rm -f "${D}"/usr/sbin/xconv.pl
newinitd "${FILESDIR}"/xinetd.rc6 xinetd || die
newconfd "${FILESDIR}"/xinetd.confd xinetd || die