summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/nessus-libraries/nessus-libraries-2.3.1.ebuild')
-rw-r--r--net-analyzer/nessus-libraries/nessus-libraries-2.3.1.ebuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/net-analyzer/nessus-libraries/nessus-libraries-2.3.1.ebuild b/net-analyzer/nessus-libraries/nessus-libraries-2.3.1.ebuild
index dddbffce8193..1fade84cde25 100644
--- a/net-analyzer/nessus-libraries/nessus-libraries-2.3.1.ebuild
+++ b/net-analyzer/nessus-libraries/nessus-libraries-2.3.1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-libraries/nessus-libraries-2.3.1.ebuild,v 1.2 2006/02/18 19:43:48 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-libraries/nessus-libraries-2.3.1.ebuild,v 1.3 2007/01/21 19:26:27 cedk Exp $
-inherit toolchain-funcs
+inherit toolchain-funcs eutils
DESCRIPTION="A remote security scanner for Linux (nessus-libraries)"
HOMEPAGE="http://www.nessus.org/"
@@ -16,6 +16,13 @@ IUSE=""
DEPEND=">=dev-libs/openssl-0.9.6d"
S=${WORKDIR}/${PN}
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-ldflags.patch
+}
+
src_compile() {
export CC=$(tc-getCC)
econf --with-ssl=/usr/lib || die "econf failed"