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

Collapse All | Expand All

(-)a/uw-mailutils-2007e.ebuild (-3 / +9 lines)
Lines 14-23 Link Here
14
LICENSE="Apache-2.0"
14
LICENSE="Apache-2.0"
15
SLOT="0"
15
SLOT="0"
16
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
16
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
17
IUSE=""
17
IUSE="pam ssl"
18
18
19
DEPEND="virtual/libc
19
DEPEND="virtual/libc
20
	!<mail-client/pine-4.64-r1"
20
	!<mail-client/pine-4.64-r1
21
	pam? ( sys-libs/pam )
22
	ssl? ( dev-libs/openssl )"
21
RDEPEND="${DEPEND}
23
RDEPEND="${DEPEND}
22
	!<net-mail/uw-imap-${PV}"
24
	!<net-mail/uw-imap-${PV}"
23
25
Lines 28-33 Link Here
28
	cd "${S}"
30
	cd "${S}"
29
31
30
	epatch "${FILESDIR}/${PN}-2004g.patch" || die "epatch failed"
32
	epatch "${FILESDIR}/${PN}-2004g.patch" || die "epatch failed"
33
	epatch "${FILESDIR}/${PN}-ssl.patch" || die "epatch failed"
31
34
32
	sed -i -e "s|\`cat \$C/CFLAGS\`|${CFLAGS}|g" \
35
	sed -i -e "s|\`cat \$C/CFLAGS\`|${CFLAGS}|g" \
33
		src/mailutil/Makefile \
36
		src/mailutil/Makefile \
Lines 38-45 Link Here
38
41
39
src_compile() {
42
src_compile() {
40
	local port=slx
43
	local port=slx
44
	use pam && port=lnp
41
	use elibc_FreeBSD && port=bsf
45
	use elibc_FreeBSD && port=bsf
42
	yes | make "${port}" EXTRACFLAGS="${CFLAGS}" SSLTYPE=none || die
46
	local ssltype=none
47
	use ssl && ssltype=nopwd
48
	yes | make "${port}" EXTRACFLAGS="${CFLAGS}" SSLTYPE="${ssltype}" || die
43
}
49
}
44
50
45
src_install() {
51
src_install() {

Return to bug 276401