net-analyzer/synscan: EAPI7->8, fix w/ lld

Closes: https://bugs.gentoo.org/875017
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2022-11-28 18:44:53 -05:00
parent 1545c4ed5c
commit d7b3bf2ee1
2 changed files with 14 additions and 5 deletions

View File

@@ -0,0 +1,9 @@
lld does not ignore erroneous libdirs (ideally should use pkg-config)
https://bugs.gentoo.org/875017
--- a/configure.in
+++ b/configure.in
@@ -60,3 +60,3 @@
CFLAGS="$CFLAGS -I${prefix}/include"
- LIBS="$LIBS -L${prefix}/lib -lpcap"
+ LIBS="$LIBS -lpcap"
elif test -f /usr/include/pcap/pcap.h; then

View File

@@ -1,15 +1,15 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
inherit autotools
DESCRIPTION="A fast asynchronous half-open TCP portscanner"
DESCRIPTION="Fast asynchronous half-open TCP portscanner"
HOMEPAGE="http://www.digit-labs.org/files/tools/synscan/"
SRC_URI="http://www.digit-labs.org/files/tools/${PN}/releases/${P}.tar.gz"
SRC_URI="http://www.digit-labs.org/files/tools/synscan/releases/${P}.tar.gz"
LICENSE="GPL-2"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 x86 ~x64-macos"
@@ -18,12 +18,12 @@ DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-destdir.patch
"${FILESDIR}"/${P}-lld.patch
)
src_prepare() {
default
mv configure.{in,ac} || die
eautoreconf
}