mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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@gentoo.org>
This commit is contained in:
@@ -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) \
|
||||
|
||||
Reference in New Issue
Block a user