diff options
author | Jeroen Roovers <jer@gentoo.org> | 2013-08-01 01:28:23 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2013-08-01 01:28:23 +0000 |
commit | 7cf9b39ce51679c81858551947e0192ed08fe54b (patch) | |
tree | 0600e36a8f95b23235063dd73a19bf0ca1bc7efb /app-admin | |
parent | Update HOMEPAGE. (diff) | |
download | gentoo-2-7cf9b39ce51679c81858551947e0192ed08fe54b.tar.gz gentoo-2-7cf9b39ce51679c81858551947e0192ed08fe54b.tar.bz2 gentoo-2-7cf9b39ce51679c81858551947e0192ed08fe54b.zip |
Add multilib support by Alexis Ballier (bug #479318).
(Portage version: 2.2.0_alpha191/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/fam/ChangeLog | 7 | ||||
-rw-r--r-- | app-admin/fam/fam-2.7.0-r7.ebuild | 52 |
2 files changed, 58 insertions, 1 deletions
diff --git a/app-admin/fam/ChangeLog b/app-admin/fam/ChangeLog index b3f1a35af4bf..9531882ea510 100644 --- a/app-admin/fam/ChangeLog +++ b/app-admin/fam/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-admin/fam # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/fam/ChangeLog,v 1.76 2013/04/24 17:53:43 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/fam/ChangeLog,v 1.77 2013/08/01 01:28:23 jer Exp $ + +*fam-2.7.0-r7 (01 Aug 2013) + + 01 Aug 2013; Jeroen Roovers <jer@gentoo.org> +fam-2.7.0-r7.ebuild: + Add multilib support by Alexis Ballier (bug #479318). 24 Apr 2013; Jeroen Roovers <jer@gentoo.org> fam-2.7.0-r6.ebuild: Fix building with automake-1.13. diff --git a/app-admin/fam/fam-2.7.0-r7.ebuild b/app-admin/fam/fam-2.7.0-r7.ebuild new file mode 100644 index 000000000000..2989cebea5c9 --- /dev/null +++ b/app-admin/fam/fam-2.7.0-r7.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/fam/fam-2.7.0-r7.ebuild,v 1.1 2013/08/01 01:28:23 jer Exp $ + +EAPI=5 +inherit eutils autotools multilib-minimal + +DEBIAN_PATCH="17" +DESCRIPTION="FAM, the File Alteration Monitor" +HOMEPAGE="http://oss.sgi.com/projects/fam/" +SRC_URI="ftp://oss.sgi.com/projects/fam/download/stable/${P}.tar.gz + mirror://debian/pool/main/f/${PN}/${P/-/_}-${DEBIAN_PATCH}.diff.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +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 ) + !app-admin/gamin" +RDEPEND="${DEPEND}" + +DOCS=( AUTHORS ChangeLog INSTALL NEWS TODO README ) + +src_prepare() { + epatch "${WORKDIR}/${P/-/_}-${DEBIAN_PATCH}.diff" + edos2unix "${S}"/${P}/debian/patches/10_debianbug375967.patch + EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" epatch "${S}"/${P}/debian/patches + sed -i configure.ac -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' || die + + eautoreconf + multilib_copy_sources +} + +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 || die + fi +} + +multilib_src_install_all() { + prune_libtool_files + + sed -i "${D}"/etc/fam.conf \ + -e "s:local_only = false:local_only = true:g" \ + || die "sed fam.conf" + + doinitd "${FILESDIR}/famd" +} |