commit: 083f553c808a48d17f8998591af1fba5733ce643 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Apr 2 01:05:52 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Apr 3 16:10:27 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=083f553c
net-analyzer/synscan: eutils--, add Darwin + Solaris support Signed-off-by: Sam James <sam <AT> gentoo.org> net-analyzer/synscan/synscan-5.02.ebuild | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/net-analyzer/synscan/synscan-5.02.ebuild b/net-analyzer/synscan/synscan-5.02.ebuild index d91e0b3141d..2da333b19de 100644 --- a/net-analyzer/synscan/synscan-5.02.ebuild +++ b/net-analyzer/synscan/synscan-5.02.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit autotools eutils + +inherit autotools DESCRIPTION="A fast asynchronous half-open TCP portscanner" HOMEPAGE="http://www.digit-labs.org/files/tools/synscan/" @@ -11,29 +12,29 @@ SRC_URI="http://www.digit-labs.org/files/tools/${PN}/releases/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" -IUSE="kernel_FreeBSD kernel_linux" +IUSE="kernel_Darwin kernel_FreeBSD kernel_linux kernel_SunOS" RDEPEND="net-libs/libpcap" DEPEND="${RDEPEND}" PATCHES=( - "${FILESDIR}/${P}-destdir.patch" + "${FILESDIR}"/${P}-destdir.patch ) src_prepare() { default - mv "$S"/configure.in "$S"/configure.ac || die - eautoconf -} -src_configure() { - econf --prefix="${EPREFIX}"/usr + mv configure.{in,ac} || die + eautoreconf } src_compile() { local _target + use kernel_FreeBSD && _target=freebsd use kernel_linux && _target=linux + use kernel_SunOS && _target=solaris-sparc-gcc + use kernel_Darwin && _target=macos emake ${_target} }
