public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/wget2/
Date: Fri,  5 Nov 2021 22:47:49 +0000 (UTC)	[thread overview]
Message-ID: <1636152371.23632b956c384bb0442cd7d078a9376f1f013f49.floppym@gentoo> (raw)

commit:     23632b956c384bb0442cd7d078a9376f1f013f49
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  5 18:53:41 2021 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri Nov  5 22:46:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23632b95

net-misc/wget2: avoid eautoreconf

Instead of patching Makefile.am, stub-out LDCONFIG in configure.

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 net-misc/wget2/wget2-2.0.0.ebuild | 14 +++-----------
 net-misc/wget2/wget2-9999.ebuild  | 17 ++++++-----------
 2 files changed, 9 insertions(+), 22 deletions(-)

diff --git a/net-misc/wget2/wget2-2.0.0.ebuild b/net-misc/wget2/wget2-2.0.0.ebuild
index 2926f483723..36048689f29 100644
--- a/net-misc/wget2/wget2-2.0.0.ebuild
+++ b/net-misc/wget2/wget2-2.0.0.ebuild
@@ -48,17 +48,6 @@ BDEPEND="
 
 RESTRICT="!test? ( test )"
 
-PATCHES=(
-	# Upstream attempts to be "smart" by calling ldconfig in
-	# install-exec-hook
-	"${FILESDIR}"/${PN}-1.99.2-remove_ldconfig_call.patch
-)
-
-src_prepare() {
-	default
-	eautoreconf
-}
-
 src_configure() {
 	local myeconfargs=(
 		--disable-static
@@ -79,6 +68,9 @@ src_configure() {
 		$(use_with pcre libpcre2)
 		$(use_with psl libpsl)
 		$(use_with zlib)
+
+		# Avoid calling ldconfig
+		LDCONFIG=:
 	)
 	econf "${myeconfargs[@]}"
 }

diff --git a/net-misc/wget2/wget2-9999.ebuild b/net-misc/wget2/wget2-9999.ebuild
index b757baf1343..c35c06da76f 100644
--- a/net-misc/wget2/wget2-9999.ebuild
+++ b/net-misc/wget2/wget2-9999.ebuild
@@ -3,12 +3,10 @@
 
 EAPI=7
 
-inherit autotools
-
 DESCRIPTION="GNU Wget2 is a file and recursive website downloader"
 HOMEPAGE="https://gitlab.com/gnuwget/wget2"
 if [[ "${PV}" == *9999 ]] ; then
-	inherit git-r3
+	inherit autotools git-r3
 	EGIT_REPO_URI="https://gitlab.com/gnuwget/wget2.git"
 else
 	SRC_URI="mirror://gnu/wget/${P}.tar.gz"
@@ -51,12 +49,6 @@ BDEPEND="
 
 RESTRICT="!test? ( test )"
 
-PATCHES=(
-	# Upstream attempts to be "smart" by calling ldconfig in
-	# install-exec-hook
-	"${FILESDIR}"/${PN}-1.99.2-remove_ldconfig_call.patch
-)
-
 src_unpack() {
 	if [[ "${PV}" == *9999 ]] ; then
 		git-r3_src_unpack
@@ -71,6 +63,7 @@ src_unpack() {
 }
 
 src_prepare() {
+	default
 	if [[ "${PV}" == *9999 ]] ; then
 		local bootstrap_opts=(
 			--gnulib-srcdir=../gnulib
@@ -82,9 +75,8 @@ src_prepare() {
 		AUTORECONF="/bin/true" \
 		LIBTOOLIZE="/bin/true" \
 		sh ./bootstrap "${bootstrap_opts[@]}" || die
+		eautoreconf
 	fi
-	default
-	eautoreconf
 }
 
 src_configure() {
@@ -106,6 +98,9 @@ src_configure() {
 		$(use_with pcre libpcre2)
 		$(use_with psl libpsl)
 		$(use_with zlib)
+
+		# Avoid calling ldconfig
+		LDCONFIG=:
 	)
 	econf "${myeconfargs[@]}"
 }


             reply	other threads:[~2021-11-05 22:47 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-05 22:47 Mike Gilbert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-23  1:49 [gentoo-commits] repo/gentoo:master commit in: net-misc/wget2/ Sam James
2023-10-27 15:20 Michał Górny
2023-09-24 17:09 WANG Xuerui
2023-09-19 20:30 Bernard Cafarelli
2023-09-19 20:30 Bernard Cafarelli
2023-08-21 17:23 Bernard Cafarelli
2023-08-16 21:50 Bernard Cafarelli
2023-05-14  0:31 Sam James
2023-05-14  0:31 Sam James
2022-09-19  3:28 Sam James
2022-09-09 16:55 Arthur Zamarin
2022-07-19 17:51 Bernard Cafarelli
2022-07-17 17:41 Bernard Cafarelli
2022-07-17 17:41 Bernard Cafarelli
2022-07-17  9:25 Bernard Cafarelli
2022-07-17  9:23 Bernard Cafarelli
2022-07-10 12:55 Bernard Cafarelli
2022-05-27 14:11 Lars Wendler
2022-04-10 15:33 Lars Wendler
2022-02-16 21:26 David Seifert
2021-11-05 23:25 Mike Gilbert
2021-09-14  8:56 Lars Wendler
2021-08-23  0:39 Sam James
2021-08-22 19:11 Matt Turner
2021-05-01 10:19 Mikle Kolyada
2020-12-29 16:14 Lars Wendler
2020-12-29 15:49 Lars Wendler
2020-03-09 10:34 David Seifert
2020-03-09  8:19 Lars Wendler

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=1636152371.23632b956c384bb0442cd7d078a9376f1f013f49.floppym@gentoo \
    --to=floppym@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