diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-27 06:06:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-27 06:06:27 +0000 |
commit | 8d5dbd847cbc704a6a06405856e94b461011afe3 (patch) | |
tree | 4d26462d027b14926335894749d2e01d982234d0 /net-analyzer/httping/httping-2.5.ebuild | |
parent | 5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (diff) |
gentoo resync : 27.03.2021
Diffstat (limited to 'net-analyzer/httping/httping-2.5.ebuild')
-rw-r--r-- | net-analyzer/httping/httping-2.5.ebuild | 34 |
1 files changed, 19 insertions, 15 deletions
diff --git a/net-analyzer/httping/httping-2.5.ebuild b/net-analyzer/httping/httping-2.5.ebuild index b4f856e559ba..b454614720f8 100644 --- a/net-analyzer/httping/httping-2.5.ebuild +++ b/net-analyzer/httping/httping-2.5.ebuild @@ -1,30 +1,26 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -inherit eutils toolchain-funcs +EAPI=7 + +inherit toolchain-funcs flag-o-matic DESCRIPTION="http protocol ping-like program" -HOMEPAGE="http://www.vanheusden.com/httping/" -SRC_URI="http://www.vanheusden.com/${PN}/${P}.tgz" +HOMEPAGE="https://www.vanheusden.com/httping/" +SRC_URI="https://www.vanheusden.com/${PN}/${P}.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~arm64 ~hppa ~mips ~ppc ppc64 ~sparc x86" -IUSE="debug fftw libressl l10n_nl ncurses ssl +tfo" +IUSE="debug fftw l10n_nl ncurses ssl +tfo" RDEPEND=" fftw? ( sci-libs/fftw:3.0 ) ncurses? ( sys-libs/ncurses:0= ) - ssl? ( - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) - ) -" -DEPEND=" - ${RDEPEND} - ncurses? ( virtual/pkgconfig ) + ssl? ( dev-libs/openssl:0= ) " +DEPEND="${RDEPEND}" +BDEPEND="ncurses? ( virtual/pkgconfig )" # This would bring in test? ( dev-util/cppcheck ) but unlike # upstream we should only care about compile/run time testing @@ -43,13 +39,21 @@ src_prepare() { mkdir nl || die mv httping-nl.1 nl/httping.1 || die fi + } src_configure() { # not an autotools script echo > makefile.inc || die - use ncurses && LDFLAGS+=" $( $( tc-getPKG_CONFIG ) --libs ncurses )" + if use ncurses ; then + local ncurses_flags="$($(tc-getPKG_CONFIG) --libs ncurses)" + + # Don't require ncurses with unicode support + # bug #731950 + sed -i -e "s/-lncursesw/${ncurses_flags}/" Makefile || die + append-ldflags "${ncurses_flags}" + fi } src_compile() { |