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[@]}"
}