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

Collapse All | Expand All

(-)/usr/portage/dev-libs/nettle/nettle-2.7.1.ebuild (-6 / +9 lines)
Lines 4-10 Link Here
4
4
5
EAPI=5
5
EAPI=5
6
6
7
inherit eutils autotools multilib
7
inherit eutils autotools-multilib multilib
8
8
9
DESCRIPTION="Low-level cryptographic library"
9
DESCRIPTION="Low-level cryptographic library"
10
HOMEPAGE="http://www.lysator.liu.se/~nisse/nettle/"
10
HOMEPAGE="http://www.lysator.liu.se/~nisse/nettle/"
Lines 16-22 Link Here
16
IUSE="doc +gmp neon static-libs test"
16
IUSE="doc +gmp neon static-libs test"
17
17
18
DEPEND="gmp? ( dev-libs/gmp )"
18
DEPEND="gmp? ( dev-libs/gmp )"
19
RDEPEND="${DEPEND}"
19
RDEPEND="${DEPEND}
20
	abi_x86_32? (
21
		!<=app-emulation/emul-linux-x86-baselibs-20131008-r9
22
		!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
23
	)"
20
24
21
src_prepare() {
25
src_prepare() {
22
	epatch "${FILESDIR}"/${PN}-2.7-shared.patch
26
	epatch "${FILESDIR}"/${PN}-2.7-shared.patch
Lines 31-38 Link Here
31
	eautoreconf
35
	eautoreconf
32
}
36
}
33
37
34
src_configure() {
38
multilib_src_configure() {
35
	# --disable-openssl bug #427526
39
	# --disable-openssl bug #427526
40
	ECONF_SOURCE="${S}" \
36
	econf \
41
	econf \
37
		--libdir="${EPREFIX}"/usr/$(get_libdir) \
42
		--libdir="${EPREFIX}"/usr/$(get_libdir) \
38
		$(use_enable gmp public-key) \
43
		$(use_enable gmp public-key) \
Lines 42-50 Link Here
42
		$(use_enable neon arm-neon)
47
		$(use_enable neon arm-neon)
43
}
48
}
44
49
45
src_install() {
50
multilib_src_install_all() {
46
	default
47
48
	if use doc ; then
51
	if use doc ; then
49
		dohtml nettle.html
52
		dohtml nettle.html
50
		dodoc nettle.pdf
53
		dodoc nettle.pdf

Return to bug 493974