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>
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
}
src_configure() {
-
econf \
$(use_enable acl acl-support) \
$(use_enable editor) \