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

(-)gnutls-2.2.1.ebuild (-5 / +8 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/gnutls/gnutls-2.2.1.ebuild,v 1.2 2008/01/18 23:08:15 alonbl Exp $
3
# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-2.2.1.ebuild,v 1.2 2008/01/18 23:08:15 alonbl Exp $
4
4
5
inherit libtool autotools
5
inherit libtool autotools eutils
6
6
7
DESCRIPTION="A TLS 1.0 and SSL 3.0 implementation for the GNU project"
7
DESCRIPTION="A TLS 1.0 and SSL 3.0 implementation for the GNU project"
8
HOMEPAGE="http://www.gnutls.org/"
8
HOMEPAGE="http://www.gnutls.org/"
Lines 21-27 Link Here
21
	nls? ( virtual/libintl )
21
	nls? ( virtual/libintl )
22
	guile? ( dev-scheme/guile )
22
	guile? ( dev-scheme/guile )
23
	zlib? ( >=sys-libs/zlib-1.1 )
23
	zlib? ( >=sys-libs/zlib-1.1 )
24
	lzo? ( >=dev-libs/lzo-2 )"
24
	!bindist? ( lzo? ( >=dev-libs/lzo-2 ) )"
25
DEPEND="${RDEPEND}
25
DEPEND="${RDEPEND}
26
	sys-devel/libtool
26
	sys-devel/libtool
27
	doc? ( dev-util/gtk-doc )
27
	doc? ( dev-util/gtk-doc )
Lines 34-41 Link Here
34
		die
34
		die
35
	fi
35
	fi
36
	if use lzo && use bindist; then
36
	if use lzo && use bindist; then
37
		eerror "lzo is not allowed in binary distribution of gnutls"
37
		ewarn "lzo support was disabled for binary distribution of gnutls"
38
		die
38
		ewarn "due to licensing issues. See Bug 202381 for details."
39
		epause 5
39
	fi
40
	fi
40
}
41
}
41
42
Lines 46-51 Link Here
46
}
47
}
47
48
48
src_compile() {
49
src_compile() {
50
	local myconf
51
	use bindist && myconf="--disable-lzo" || myconf="$(use_enable lzo)"
49
	econf  \
52
	econf  \
50
		--without-included-opencdk \
53
		--without-included-opencdk \
51
		$(use_with zlib) \
54
		$(use_with zlib) \
Lines 53-59 Link Here
53
		$(use_enable nls) \
56
		$(use_enable nls) \
54
		$(use_enable guile) \
57
		$(use_enable guile) \
55
		$(use_enable doc gtk-doc) \
58
		$(use_enable doc gtk-doc) \
56
		|| die
59
		${myconf}
57
	emake || die
60
	emake || die
58
}
61
}
59
62

Return to bug 202381