summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-08-06 06:03:41 +0000
committerHans de Graaff <graaff@gentoo.org>2012-08-06 06:03:41 +0000
commit676657d35aab46725ae98d0ba8d7a4c34a38d2e6 (patch)
treebcce8143289c5ed9b17f7a2d086049be096a85a0 /net-analyzer
parentUpdate homepage. (diff)
downloadgentoo-2-676657d35aab46725ae98d0ba8d7a4c34a38d2e6.tar.gz
gentoo-2-676657d35aab46725ae98d0ba8d7a4c34a38d2e6.tar.bz2
gentoo-2-676657d35aab46725ae98d0ba8d7a4c34a38d2e6.zip
Fix compilation for forced as-needed, bug 430022.
(Portage version: 2.1.10.65/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/sslscan/ChangeLog6
-rw-r--r--net-analyzer/sslscan/files/sslscan-1.8.2-makefile.patch11
-rw-r--r--net-analyzer/sslscan/sslscan-1.8.2.ebuild4
3 files changed, 18 insertions, 3 deletions
diff --git a/net-analyzer/sslscan/ChangeLog b/net-analyzer/sslscan/ChangeLog
index 5165fcd16d48..7d720d4bcdb5 100644
--- a/net-analyzer/sslscan/ChangeLog
+++ b/net-analyzer/sslscan/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-analyzer/sslscan
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sslscan/ChangeLog,v 1.2 2012/08/06 05:54:00 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sslscan/ChangeLog,v 1.3 2012/08/06 06:03:41 graaff Exp $
+
+ 06 Aug 2012; Hans de Graaff <graaff@gentoo.org> sslscan-1.8.2.ebuild,
+ +files/sslscan-1.8.2-makefile.patch:
+ Fix compilation for forced as-needed, bug 430022.
06 Aug 2012; Hans de Graaff <graaff@gentoo.org> sslscan-1.8.2.ebuild:
Update homepage.
diff --git a/net-analyzer/sslscan/files/sslscan-1.8.2-makefile.patch b/net-analyzer/sslscan/files/sslscan-1.8.2-makefile.patch
new file mode 100644
index 000000000000..cf8bf0cac364
--- /dev/null
+++ b/net-analyzer/sslscan/files/sslscan-1.8.2-makefile.patch
@@ -0,0 +1,11 @@
+--- Makefile.~1~ 2009-09-01 14:35:59.000000000 +0200
++++ Makefile 2012-08-06 08:00:40.550143945 +0200
+@@ -3,7 +3,7 @@
+ MANPATH = /usr/share/man/
+
+ all:
+- gcc -g -Wall -lssl -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS)
++ $(CC) -Wall -o sslscan $(SRCS) -lssl $(LDFLAGS) $(CFLAGS)
+
+ install:
+ cp sslscan $(BINPATH)
diff --git a/net-analyzer/sslscan/sslscan-1.8.2.ebuild b/net-analyzer/sslscan/sslscan-1.8.2.ebuild
index 502ed742385a..7657bfef718b 100644
--- a/net-analyzer/sslscan/sslscan-1.8.2.ebuild
+++ b/net-analyzer/sslscan/sslscan-1.8.2.ebuild
@@ -3,7 +3,7 @@
EAPI=4
-inherit toolchain-funcs
+inherit eutils toolchain-funcs
DESCRIPTION="Fast SSL port scanner"
HOMEPAGE="https://www.titania-security.com/labs/sslscan"
@@ -18,7 +18,7 @@ DEPEND="dev-libs/openssl"
RDEPEND="${DEPEND}"
src_prepare() {
- sed -i -e 's/gcc -g/$(CC)/' Makefile || die
+ epatch "${FILESDIR}"/${P}-makefile.patch
}
src_compile() {