--- nettle-2.7.1.ebuild 2013-08-06 06:31:09.000000000 -0700 +++ nettle-2.7.1-r1.ebuild 2013-12-11 14:05:50.453206303 -0800 @@ -4,7 +4,7 @@ EAPI=5 -inherit eutils autotools multilib +inherit eutils autotools-multilib DESCRIPTION="Low-level cryptographic library" HOMEPAGE="http://www.lysator.liu.se/~nisse/nettle/" @@ -13,7 +13,7 @@ LICENSE="|| ( LGPL-3 LGPL-2.1 )" SLOT="0/4" # subslot = libnettle soname version KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" -IUSE="doc +gmp neon static-libs test" +IUSE="doc +gmp multilib neon static-libs test" DEPEND="gmp? ( dev-libs/gmp )" RDEPEND="${DEPEND}" @@ -31,9 +31,8 @@ eautoreconf } -src_configure() { - # --disable-openssl bug #427526 - econf \ +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ --libdir="${EPREFIX}"/usr/$(get_libdir) \ $(use_enable gmp public-key) \ $(use_enable static-libs static) \ @@ -42,7 +41,7 @@ $(use_enable neon arm-neon) } -src_install() { +multilib_src_install() { default if use doc ; then