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

Collapse All | Expand All

(-)/usr/portage/net-libs/librpcsecgss/librpcsecgss-0.14-r1.ebuild (-2 / +16 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-libs/librpcsecgss/librpcsecgss-0.14-r1.ebuild,v 1.11 2007/03/25 06:54:27 vapier Exp $
3
# $Header: /var/cvsroot/gentoo-x86/net-libs/librpcsecgss/librpcsecgss-0.14-r1.ebuild,v 1.11 2007/03/25 06:54:27 vapier Exp $
4
4
5
inherit eutils
5
inherit eutils autotools
6
6
7
DESCRIPTION="implementation of rpcsec_gss (RFC 2203) for secure rpc communication"
7
DESCRIPTION="implementation of rpcsec_gss (RFC 2203) for secure rpc communication"
8
HOMEPAGE="http://www.citi.umich.edu/projects/nfsv4/linux/"
8
HOMEPAGE="http://www.citi.umich.edu/projects/nfsv4/linux/"
Lines 13-19 Link Here
13
KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86"
13
KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86"
14
IUSE=""
14
IUSE=""
15
15
16
RDEPEND=">=app-crypt/libgssapi-0.9"
16
RDEPEND=" || (
17
			>=app-crypt/libgssapi-0.9
18
			>=app-crypt/heimdal-1.0
19
			 )"
17
DEPEND="${RDEPEND}
20
DEPEND="${RDEPEND}
18
	dev-util/pkgconfig"
21
	dev-util/pkgconfig"
19
22
Lines 21-26 Link Here
21
	unpack ${A}
24
	unpack ${A}
22
	cd "${S}"
25
	cd "${S}"
23
	epatch "${FILESDIR}"/${P}-more-libs.patch
26
	epatch "${FILESDIR}"/${P}-more-libs.patch
27
	[[ -d /usr/include/heimdal ]] && epatch "${FILESDIR}"/remove_libgssapi_dep.patch
28
	eautoreconf
29
}
30
31
src_compile() {
32
	if [[ -d /usr/include/heimdal ]]; then
33
		export  GSSAPI_CFLAGS=`krb5-config --cflags gssapi`
34
		export GSSAPI_LIBS=`krb5-config --libs gssapi`
35
	fi
36
	econf
37
	emake || die
24
}
38
}
25
39
26
src_install() {
40
src_install() {

Return to bug 186392