Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 382533
Collapse All | Expand All

(-)privoxy-3.0.17.ebuild.old (-4 / +3 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/privoxy-3.0.17.ebuild,v 1.7 2011/03/01 15:18:05 ranger Exp $
3
# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/privoxy-3.0.17.ebuild,v 1.7 2011/03/01 15:18:05 ranger Exp $
4
4
5
EAPI="2"
5
EAPI="4"
6
6
7
inherit eutils toolchain-funcs autotools
7
inherit eutils toolchain-funcs autotools
8
8
Lines 36-46 Link Here
36
	epatch "${FILESDIR}"/${P}-gentoo.patch
36
	epatch "${FILESDIR}"/${P}-gentoo.patch
37
	# autoreconf needs to be called even if we don't modify any autotools source files
37
	# autoreconf needs to be called even if we don't modify any autotools source files
38
	# See main makefile
38
	# See main makefile
39
	eautoreconf || die "eautoreconf failed"
39
	eautoreconf
40
}
40
}
41
41
42
src_configure() {
42
src_configure() {
43
	export CC=$(tc-getCC)
44
	econf \
43
	econf \
45
		$(use_enable zlib) \
44
		$(use_enable zlib) \
46
		$(use_enable threads pthread) \
45
		$(use_enable threads pthread) \
Lines 52-58 Link Here
52
}
51
}
53
52
54
src_install () {
53
src_install () {
55
	emake DESTDIR="${D}" install || die "emake install failed"
54
	default
56
55
57
	newinitd "${FILESDIR}/privoxy.initd" privoxy
56
	newinitd "${FILESDIR}/privoxy.initd" privoxy
58
	insinto /etc/logrotate.d
57
	insinto /etc/logrotate.d

Return to bug 382533