--- fam-2.7.0-r6.ebuild 2013-05-16 12:23:02.848416693 -0400 +++ fam-2.7.0-r7.ebuild 2013-07-31 15:44:14.507357655 -0400 @@ -3,7 +3,7 @@ # $Header: /var/cvsroot/gentoo-x86/app-admin/fam/fam-2.7.0-r6.ebuild,v 1.11 2013/04/24 17:53:43 jer Exp $ EAPI=5 -inherit eutils autotools +inherit eutils autotools multilib-minimal DEBIAN_PATCH="17" DESCRIPTION="FAM, the File Alteration Monitor" @@ -13,7 +13,7 @@ LICENSE="GPL-2 LGPL-2.1" SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" IUSE="static-libs" DEPEND="|| ( net-nds/rpcbind >=net-nds/portmap-5b-r6 ) @@ -29,14 +29,19 @@ sed -i configure.ac -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' || die eautoreconf + multilib_copy_sources } -src_configure() { +multilib_src_configure() { econf $(use_enable static-libs static) + + # These are thrown away later + if ! multilib_is_native_abi ; then + sed -i -e 's/src conf man//' Makefile + fi } -src_install() { - default +multilib_src_install_all() { prune_libtool_files sed -i "${D}"/etc/fam.conf \