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

Collapse All | Expand All

(-)/usr/portage/net-fs/autofs/autofs-3.1.7-r4.ebuild (-4 / +12 lines)
Lines 23-36 Link Here
23
	
23
	
24
	cd ${S}/include
24
	cd ${S}/include
25
	patch -p0 < ${FILESDIR}/automount.diff || die
25
	patch -p0 < ${FILESDIR}/automount.diff || die
26
27
	cd ${S}/daemon
28
	patch -p0 < ${FILESDIR}/ldap1.diff || die
29
30
	cd ${S}
31
	patch -p0 < ${FILESDIR}/ldap2.diff || die
32
33
	cd ${S}
34
	autoconf || die
26
}
35
}
27
36
28
src_compile() {
37
src_compile() {
29
	local myconf
38
	local myconf
30
	use ldap || myconf="--without-openldap"
39
	use ldap || myconf="--without-openldap"
31
	export HAVE_LDAP=1 
40
	
32
	export LIBLDAP="$LIBLDAP -lldap -llber -lresolv"
33
	export LIBS="-lldap -llber -lresolv $LIBS"
34
	./configure --host=${HOST} --prefix=/usr ${myconf} || die
41
	./configure --host=${HOST} --prefix=/usr ${myconf} || die
35
	emake || die
42
	emake || die
36
}
43
}
Lines 63-66 Link Here
63
	echo ""
70
	echo ""
64
	einfo "Also the normal autofs status has been renamed stats"
71
	einfo "Also the normal autofs status has been renamed stats"
65
	einfo "as there is already a predefined Gentoo status"
72
	einfo "as there is already a predefined Gentoo status"
66
}	
73
}	
74

Return to bug 10481