commit: 879e9d8dece58511f1ebf28cd3b1bd5cf4fee8ee
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 13 11:01:28 2016 +0000
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Wed Apr 13 11:01:46 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=879e9d8d
net-proxy/privoxy: fix bug 579756
Warn if threads are disabled, as this mays slow down privoxy significantly.
Package-Manager: portage-2.2.28
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
net-proxy/privoxy/privoxy-3.0.24.ebuild | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/net-proxy/privoxy/privoxy-3.0.24.ebuild
b/net-proxy/privoxy/privoxy-3.0.24.ebuild
index 3bbb118..0f824fa 100644
--- a/net-proxy/privoxy/privoxy-3.0.24.ebuild
+++ b/net-proxy/privoxy/privoxy-3.0.24.ebuild
@@ -30,6 +30,15 @@ REQUIRED_USE="toggle? ( editor )"
S="${WORKDIR}/${P%_*}-${PRIVOXY_STATUS}"
+pkg_pretend() {
+ if ! use threads; then
+ ewarn
+ ewarn "Privoxy may be very slow without threads support,
consider to enable them."
+ ewarn "See also
http://www.privoxy.org/faq/trouble.html#GENTOO-RICERS"
+ ewarn
+ fi
+}
+
pkg_setup() {
enewgroup privoxy
enewuser privoxy -1 -1 /etc/privoxy privoxy
@@ -43,7 +52,6 @@ src_prepare() {
}
src_configure() {
-
econf \
$(use_enable acl acl-support) \
$(use_enable editor) \