summaryrefslogtreecommitdiff
path: root/www-client/httrack
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-02-13 21:41:11 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-02-13 21:41:11 +0000
commitc8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (patch)
treec44943ee0563a3fa957716de909fed683117fcb9 /www-client/httrack
parent69051588e2f955485fe5d45d45e616bc60a2de57 (diff)
gentoo (valentine's day) resync : 14.02.2021
Diffstat (limited to 'www-client/httrack')
-rw-r--r--www-client/httrack/Manifest2
-rw-r--r--www-client/httrack/httrack-3.49.2-r2.ebuild18
2 files changed, 17 insertions, 3 deletions
diff --git a/www-client/httrack/Manifest b/www-client/httrack/Manifest
index 44b1dc0b833c..4d8e42f45538 100644
--- a/www-client/httrack/Manifest
+++ b/www-client/httrack/Manifest
@@ -1,4 +1,4 @@
AUX httrack-3.48.13-minizip.patch 1519 BLAKE2B f8b1202dfc0c0222d2d81fea01d5cbd83db8492db83b9022a56464c194ca38e5f7f380babf73d3ad2b93c23b1f166c0fab735c411688bfe6ea9f4aea28343085 SHA512 e366ea5e93888afcacc1a5df29fd4a0a6a8ea7a0eb9659e4f017a97a93c97ef12d286ed50762ee8e53a328d4cc2307bda169ae3c4d247919faec0010e1f1a10d
DIST httrack-3.49.2.tar.gz 1835116 BLAKE2B 4073b70268bcea8acf0a9ac10deed14764ccd405c82f1b9f48dc74d3dbef130161234b59e70e72305a195d21155474831e8359eea9b96d275481a69b1c1ff561 SHA512 84a13a776b278533f7f0635ebd764387c3399b01c0644d8af9b46fc8112dc3c6e568c17969d4f6c2db32b5474344c39f86cf51957c09eb807ebe305a554ba5c8
-EBUILD httrack-3.49.2-r2.ebuild 1171 BLAKE2B 80162a47d9d22df759f192b60af42c8b2207afd3ad4249e8b1ee4bcdc7a9b5901b8770f2679deaf4c5311b75049e049f3ded74d8d2bbb97fe9ede1af73109ce0 SHA512 91a390a90204e0ff4489f537a89fa0155ccbd51229cd6caaa4d916f395cafa3540bbe6df1029311515d8b55bcbe6896181a5819b0c8ac6a5fb069e466eb62612
+EBUILD httrack-3.49.2-r2.ebuild 1679 BLAKE2B bd9be495d5868b38c08dd5a25f5680d88250ca20ab1b1858992e52fd9e2ee0f921415dd015af83893546bd3e942245cfe6517ef4ba8841f21e31ea93aff4a203 SHA512 c4fc65eef86fe75eed3e33243c0c4e18f4e2c2c47c6469af53ee1d66fe31305527d45efacacb4719e89f3379caec81f4944f0e0b86af7b77e6cc0cb6a85c2b5d
MISC metadata.xml 213 BLAKE2B 89a7efa56dbdbb38950f944228541e36e90e427e1171bc1cc9103ebbfc435786bc60e2bc2e48a6f73a70ae9d8414a5748fbf8aa18476815a5a8b4c43bca0119e SHA512 54084c6097a56011194ffb5fcd237adaf6f2940fb41136bda541f0fb3c4301c87a553fa49b03a36865d7ce911f96e70349f0b40e3828d2edbcbf0d02472ba446
diff --git a/www-client/httrack/httrack-3.49.2-r2.ebuild b/www-client/httrack/httrack-3.49.2-r2.ebuild
index 11539e76c331..a6bded23cc64 100644
--- a/www-client/httrack/httrack-3.49.2-r2.ebuild
+++ b/www-client/httrack/httrack-3.49.2-r2.ebuild
@@ -1,9 +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 eutils xdg-utils
+inherit autotools multilib eutils xdg-utils
DESCRIPTION="HTTrack Website Copier, Open Source Offline Browser"
HOMEPAGE="https://www.httrack.com/"
@@ -26,6 +26,20 @@ PATCHES=(
"${FILESDIR}"/${PN}-3.48.13-minizip.patch
)
+src_prepare() {
+ default
+
+ # We need to patch use of /usr/lib because it is a problem with
+ # linker lld with profile 17.1 on amd64 (see https://bugs.gentoo.org/732272).
+ # The grep sandwich acts as a regression test so that a future
+ # version bump cannot break patching without noticing.
+ grep -wq '{ZLIB_HOME}/lib' m4/check_zlib.m4 || die
+ sed "s,{ZLIB_HOME}/lib,{ZLIB_HOME}/$(get_libdir)," -i m4/check_zlib.m4 || die
+ grep -w '{ZLIB_HOME}/lib' m4/check_zlib.m4 && die
+
+ eautoreconf
+}
+
src_configure() {
econf $(use_enable static-libs static)
}