Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 84687 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/net-mail/fetchmail/fetchmail-6.2.5-r1.ebuild (-21 / +19 lines)
Lines 11-25 Link Here
11
LICENSE="GPL-2 public-domain"
11
LICENSE="GPL-2 public-domain"
12
SLOT="0"
12
SLOT="0"
13
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~mips"
13
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~mips"
14
IUSE="ssl nls ipv6 kerberos krb4"
14
IUSE="ssl nls ipv6 kerberos krb4 hesiod"
15
15
16
DEPEND="virtual/libc
16
RDEPEND="virtual/libc
17
	ssl? ( >=dev-libs/openssl-0.9.6 )
17
	ssl? ( >=dev-libs/openssl-0.9.6 )
18
	nls? ( sys-devel/gettext )
18
	nls? ( sys-devel/gettext )
19
	kerberos? ( virtual/krb5 )
19
	kerberos? ( virtual/krb5 )
20
	krb4? ( app-crypt/kth-krb )
20
	krb4? ( app-crypt/kth-krb )
21
	sys-devel/autoconf"
21
	hesiod? ( net-dns/hesiod )
22
	sys-libs/com_err"
22
23
24
DEPEND="${RDEPEND}
25
	sys-devel/gettext
26
	sys-devel/autoconf"
23
27
24
src_unpack() {
28
src_unpack() {
25
	unpack ${A}
29
	unpack ${A}
Lines 30-54 Link Here
30
	epatch ${FILESDIR}/${P}-fetchsizelimit.patch || die
34
	epatch ${FILESDIR}/${P}-fetchsizelimit.patch || die
31
	# this patch fixes bug #34788 (ticho@gentoo.org 2004-09-03)
35
	# this patch fixes bug #34788 (ticho@gentoo.org 2004-09-03)
32
	epatch ${FILESDIR}/${P}-broken-headers.patch || die
36
	epatch ${FILESDIR}/${P}-broken-headers.patch || die
33
}
34
37
35
src_compile() {
36
	autoconf
38
	autoconf
37
38
	gnuconfig_update
39
	gnuconfig_update
40
}
39
41
40
	local myconf
42
src_compile() {
41
43
	econf  --disable-dependency-tracking \
42
	use ssl && myconf="${myconf} --with-ssl"
43
	use nls || myconf="${myconf} --disable-nls"
44
	use ipv6 && myconf="${myconf} --enable-inet6"
45
	use kerberos && myconf="${myconf} --with-gssapi --with-kerberos5"
46
	use krb4 && myconf="${myconf} --with-kerberos"
47
48
	econf \
49
		--enable-RPA \
44
		--enable-RPA \
50
		--enable-NTLM \
45
		--enable-NTLM \
51
		--enable-SDPS \
46
		--enable-SDPS \
47
		$(use_enable nls) \
48
		$(use_enable ipv6 inet6) \
49
		$(use_with kerberos gssapi) $(use_with kerberos kerberos5) \
50
		$(use_with krb4 kerberos) \
51
		$(use_with ssl) \
52
		$(use_with hesiod) \
52
		${myconf} || die "Configuration failed."
53
		${myconf} || die "Configuration failed."
53
	# wont compile reliably on smp (mkennedy@gentoo.org 2003-11-12)
54
	# wont compile reliably on smp (mkennedy@gentoo.org 2003-11-12)
54
	make || die "Compilation failed."
55
	make || die "Compilation failed."
Lines 65-76 Link Here
65
	doman ${D}/usr/share/man/*.1
66
	doman ${D}/usr/share/man/*.1
66
	rm -f ${D}/usr/share/man/*.1
67
	rm -f ${D}/usr/share/man/*.1
67
68
68
	exeinto /etc/init.d
69
	newinitd ${FILESDIR}/fetchmail fetchmail
69
	doexe ${FILESDIR}/fetchmail
70
	newconfd ${FILESDIR}/conf.d-fetchmail fetchmail
70
71
	
71
	insinto /etc/conf.d
72
	newins ${FILESDIR}/conf.d-fetchmail fetchmail
73
74
	docinto contrib
72
	docinto contrib
75
	local f
73
	local f
76
	for f in contrib/*
74
	for f in contrib/*

Return to bug 84687