From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/squid/files/, net-proxy/squid/
Date: Tue, 22 Mar 2022 00:50:36 +0000 (UTC) [thread overview]
Message-ID: <1647910227.afd1d01bb5925d9c0be7a30ad985adc002c77207.sam@gentoo> (raw)
commit: afd1d01bb5925d9c0be7a30ad985adc002c77207
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 22 00:50:20 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 22 00:50:27 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afd1d01b
net-proxy/squid: use system libltdl (avoid maintainer mode automake)
This bug has quite a long story, apparently, but it seems to be
enough here to just drop the subdir & force usage of the system version
with configure arguments (previous arguments weren't quite right).
Closes: https://bugs.gentoo.org/830099
Signed-off-by: Sam James <sam <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/23545
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../squid/files/squid-4.17-use-system-libltdl.patch | 16 ++++++++++++++++
net-proxy/squid/squid-4.17.ebuild | 6 ++++--
net-proxy/squid/squid-5.4.1-r1.ebuild | 6 ++++--
3 files changed, 24 insertions(+), 4 deletions(-)
diff --git a/net-proxy/squid/files/squid-4.17-use-system-libltdl.patch b/net-proxy/squid/files/squid-4.17-use-system-libltdl.patch
new file mode 100644
index 000000000000..219f2ab6cf70
--- /dev/null
+++ b/net-proxy/squid/files/squid-4.17-use-system-libltdl.patch
@@ -0,0 +1,16 @@
+https://bugs.gentoo.org/830099
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -6,11 +6,8 @@
+ ##
+
+ AUTOMAKE_OPTIONS = dist-bzip2 1.5 foreign
+-DIST_SUBDIRS = compat lib libltdl scripts icons errors contrib doc src test-suite tools
++DIST_SUBDIRS = compat lib scripts icons errors contrib doc src test-suite tools
+ SUBDIRS = compat lib
+-if ENABLE_LOADABLE_MODULES
+-SUBDIRS += libltdl
+-endif
+ SUBDIRS += scripts icons errors doc src tools test-suite
+
+ DISTCLEANFILES = include/stamp-h include/stamp-h[0-9]*
diff --git a/net-proxy/squid/squid-4.17.ebuild b/net-proxy/squid/squid-4.17.ebuild
index 92eaac54a145..b0395042c782 100644
--- a/net-proxy/squid/squid-4.17.ebuild
+++ b/net-proxy/squid/squid-4.17.ebuild
@@ -79,6 +79,7 @@ pkg_pretend() {
src_prepare() {
eapply "${FILESDIR}/${PN}-4.3-gentoo.patch"
+ eapply "${FILESDIR}/${PN}-4.17-use-system-libltdl.patch"
sed -i -e 's:/usr/local/squid/etc:/etc/squid:' \
INSTALL QUICKSTART \
@@ -197,8 +198,9 @@ src_configure() {
--with-build-environment=default \
--disable-strict-error-checking \
--disable-arch-native \
- --with-included-ltdl=/usr/include \
- --with-ltdl-libdir=/usr/$(get_libdir) \
+ --without-included-ltdl \
+ --with-ltdl-include="${ESYSROOT}"/usr/include \
+ --with-ltdl-lib="${ESYSROOT}"/usr/$(get_libdir) \
$(use_with caps libcap) \
$(use_enable ipv6) \
$(use_enable snmp) \
diff --git a/net-proxy/squid/squid-5.4.1-r1.ebuild b/net-proxy/squid/squid-5.4.1-r1.ebuild
index e5e9b869626f..d4d5ab2fd4fa 100644
--- a/net-proxy/squid/squid-5.4.1-r1.ebuild
+++ b/net-proxy/squid/squid-5.4.1-r1.ebuild
@@ -81,6 +81,7 @@ pkg_pretend() {
src_prepare() {
eapply "${FILESDIR}/${PN}-5.3-gentoo.patch"
+ eapply "${FILESDIR}/${PN}-4.17-use-system-libltdl.patch"
sed -i -e 's:/usr/local/squid/etc:/etc/squid:' \
INSTALL QUICKSTART \
@@ -199,8 +200,9 @@ src_configure() {
--with-build-environment=default \
--disable-strict-error-checking \
--disable-arch-native \
- --with-included-ltdl=/usr/include \
- --with-ltdl-libdir=/usr/$(get_libdir) \
+ --without-included-ltdl \
+ --with-ltdl-include="${ESYSROOT}"/usr/include \
+ --with-ltdl-lib="${ESYSROOT}"/usr/$(get_libdir) \
$(use_with caps libcap) \
$(use_enable ipv6) \
$(use_enable snmp) \
next reply other threads:[~2022-03-22 0:50 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-22 0:50 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-01 19:26 [gentoo-commits] repo/gentoo:master commit in: net-proxy/squid/files/, net-proxy/squid/ Andreas K. Hüttel
2024-10-21 9:16 Sam James
2023-12-07 6:21 Arthur Zamarin
2023-08-09 4:49 Sam James
2023-06-18 4:25 Sam James
2023-03-23 7:20 Sam James
2022-09-23 7:42 Sam James
2022-02-19 10:32 Mikle Kolyada
2020-05-03 15:05 Mikle Kolyada
2019-05-03 12:35 Mikle Kolyada
2017-06-16 6:26 Eray Aslan
2016-04-18 15:41 Eray Aslan
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=1647910227.afd1d01bb5925d9c0be7a30ad985adc002c77207.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