summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Góes <vanquirius@gentoo.org>2005-09-19 20:11:41 +0000
committerMarcelo Góes <vanquirius@gentoo.org>2005-09-19 20:11:41 +0000
commit0f1ac792cb0494db70fb21cf514fbabb5e128be0 (patch)
tree47af7f8630bf39ca7711ba820dc66ebdf8021c55 /net-analyzer/nessus-core/nessus-core-2.3.1.ebuild
parentremove RDEPEND=$DEPEND line (diff)
downloadgentoo-2-0f1ac792cb0494db70fb21cf514fbabb5e128be0.tar.gz
gentoo-2-0f1ac792cb0494db70fb21cf514fbabb5e128be0.tar.bz2
gentoo-2-0f1ac792cb0494db70fb21cf514fbabb5e128be0.zip
Kill gtk2 USE flag for bug 106560
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-analyzer/nessus-core/nessus-core-2.3.1.ebuild')
-rw-r--r--net-analyzer/nessus-core/nessus-core-2.3.1.ebuild17
1 files changed, 8 insertions, 9 deletions
diff --git a/net-analyzer/nessus-core/nessus-core-2.3.1.ebuild b/net-analyzer/nessus-core/nessus-core-2.3.1.ebuild
index 3d34112e7bd8..2aa45b537f0c 100644
--- a/net-analyzer/nessus-core/nessus-core-2.3.1.ebuild
+++ b/net-analyzer/nessus-core/nessus-core-2.3.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-core/nessus-core-2.3.1.ebuild,v 1.3 2005/07/28 22:46:18 vanquirius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-core/nessus-core-2.3.1.ebuild,v 1.4 2005/09/19 20:11:41 vanquirius Exp $
inherit eutils toolchain-funcs
@@ -11,14 +11,13 @@ SRC_URI="ftp://ftp.nessus.org/pub/nessus/experimental/nessus-${PV}/src/${P}.tar.
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64 ~ppc64"
-IUSE="tcpd gtk gtk2 debug prelude"
+IUSE="tcpd gtk debug prelude"
DEPEND="=net-analyzer/nessus-libraries-${PV}
=net-analyzer/libnasl-${PV}
tcpd? ( sys-apps/tcp-wrappers )
- gtk? ( virtual/x11
- !gtk2? ( =x11-libs/gtk+-1.2* )
- gtk2? ( =x11-libs/gtk+-2* )
+ gtk? ( virtual/x11
+ =x11-libs/gtk+-2*
)
prelude? ( dev-libs/libprelude )"
@@ -26,11 +25,11 @@ S="${WORKDIR}/${PN}"
src_unpack() {
unpack ${A}
- epatch ${FILESDIR}/${P}-gcc4.diff
+ epatch "${FILESDIR}/${P}-gcc4.diff"
}
src_compile() {
- export CC=$(tc-getCC)
+ export CC="$(tc-getCC)"
econf \
$(use_enable tcpd tcpwrappers) \
$(use_enable debug) \
@@ -44,12 +43,12 @@ src_install() {
make DESTDIR="${D}" install || die "make install failed"
# net-analyzer/nessus-libraries provides includes.h
- rm ${D}/usr/include/nessus/includes.h
+ rm "${D}"/usr/include/nessus/includes.h
dodoc README* UPGRADE_README CHANGES
dodoc doc/*.txt doc/ntp/*
- newinitd ${FILESDIR}/nessusd-r7 nessusd || die "newinitd failed"
+ newinitd "${FILESDIR}"/nessusd-r7 nessusd || die "newinitd failed"
keepdir /var/lib/nessus/logs
keepdir /var/lib/nessus/users
}