From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 501B859CB1 for ; Wed, 13 Apr 2016 11:02:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 369F721C03D; Wed, 13 Apr 2016 11:02:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B6E4621C03D for ; Wed, 13 Apr 2016 11:02:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4DE84340931 for ; Wed, 13 Apr 2016 11:02:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DDA647E for ; Wed, 13 Apr 2016 11:02:04 +0000 (UTC) From: "Andrew Savchenko" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Savchenko" Message-ID: <1460545306.879e9d8dece58511f1ebf28cd3b1bd5cf4fee8ee.bircoph@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/privoxy/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-proxy/privoxy/privoxy-3.0.24.ebuild X-VCS-Directories: net-proxy/privoxy/ X-VCS-Committer: bircoph X-VCS-Committer-Name: Andrew Savchenko X-VCS-Revision: 879e9d8dece58511f1ebf28cd3b1bd5cf4fee8ee X-VCS-Branch: master Date: Wed, 13 Apr 2016 11:02:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2500e0b3-bc25-4036-90d9-9e7d18f564f0 X-Archives-Hash: 6f849cbc8c7fbd8b4cf09b43c4830764 commit: 879e9d8dece58511f1ebf28cd3b1bd5cf4fee8ee Author: Andrew Savchenko gentoo org> AuthorDate: Wed Apr 13 11:01:28 2016 +0000 Commit: Andrew Savchenko gentoo 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 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) \