public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/httping/
Date: Mon, 22 Mar 2021 08:09:44 +0000 (UTC)	[thread overview]
Message-ID: <1616400565.510474327c2ab9b61ddf6b6946caa40dabb2f52c.sam@gentoo> (raw)

commit:     510474327c2ab9b61ddf6b6946caa40dabb2f52c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 22 08:06:55 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 22 08:09:25 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51047432

net-analyzer/httping: sync live

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-analyzer/httping/httping-2.5.ebuild     |  2 ++
 net-analyzer/httping/httping-9999999.ebuild | 21 +++++++++++++--------
 2 files changed, 15 insertions(+), 8 deletions(-)

diff --git a/net-analyzer/httping/httping-2.5.ebuild b/net-analyzer/httping/httping-2.5.ebuild
index 70c43b0cd87..bef7c95c9fd 100644
--- a/net-analyzer/httping/httping-2.5.ebuild
+++ b/net-analyzer/httping/httping-2.5.ebuild
@@ -52,6 +52,8 @@ src_configure() {
 	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

diff --git a/net-analyzer/httping/httping-9999999.ebuild b/net-analyzer/httping/httping-9999999.ebuild
index 32a92c0aead..b9faaaf1fed 100644
--- a/net-analyzer/httping/httping-9999999.ebuild
+++ b/net-analyzer/httping/httping-9999999.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit git-r3 toolchain-funcs
+
+inherit git-r3 toolchain-funcs flag-o-matic
 
 DESCRIPTION="like ping but for HTTP requests"
 HOMEPAGE="https://www.vanheusden.com/httping/"
@@ -10,7 +11,6 @@ EGIT_REPO_URI="https://github.com/flok99/httping"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS=""
 IUSE="debug fftw libressl l10n_nl ncurses ssl +tfo"
 
 RDEPEND="
@@ -21,10 +21,8 @@ RDEPEND="
 		libressl? ( dev-libs/libressl:0= )
 	)
 "
-DEPEND="
-	${RDEPEND}
-	ncurses? ( virtual/pkgconfig )
-"
+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
@@ -49,7 +47,14 @@ 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() {


             reply	other threads:[~2021-03-22  8:09 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-22  8:09 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-31 21:04 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/httping/ Andreas K. Hüttel
2023-11-04 13:35 Sam James
2023-11-04 13:35 Sam James
2023-11-04 12:25 Sam James
2023-10-04 16:50 Sam James
2023-10-04 16:50 Sam James
2022-06-16 22:09 Sam James
2021-03-22  8:10 Sam James
2021-03-22  8:09 Sam James
2021-03-22  8:09 Sam James
2021-03-22  8:09 Sam James
2021-03-06  9:08 Sam James
2021-03-06  9:08 Sam James
2020-07-20 21:22 Sam James
2019-05-03 16:11 Jeroen Roovers
2019-03-12 16:14 Rick Farina
2017-01-14 14:11 Jeroen Roovers
2017-01-14 14:11 Jeroen Roovers
2016-12-17 10:33 Aaron Bauman
2016-09-14 13:27 Jeroen Roovers
2016-07-13 17:25 Anthony G. Basile

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1616400565.510474327c2ab9b61ddf6b6946caa40dabb2f52c.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox