diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2003-02-22 11:55:43 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2003-02-22 11:55:43 +0000 |
commit | d7b7847a5e175ba0b60670a96dc2d110f4d7e639 (patch) | |
tree | 538dfc1ccec6240392a592f966a07addcb9c9bbe /app-admin/fam-oss/fam-oss-2.6.9-r2.ebuild | |
parent | many fixes; builds again (diff) | |
download | gentoo-2-d7b7847a5e175ba0b60670a96dc2d110f4d7e639.tar.gz gentoo-2-d7b7847a5e175ba0b60670a96dc2d110f4d7e639.tar.bz2 gentoo-2-d7b7847a5e175ba0b60670a96dc2d110f4d7e639.zip |
update patches
Diffstat (limited to 'app-admin/fam-oss/fam-oss-2.6.9-r2.ebuild')
-rw-r--r-- | app-admin/fam-oss/fam-oss-2.6.9-r2.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/app-admin/fam-oss/fam-oss-2.6.9-r2.ebuild b/app-admin/fam-oss/fam-oss-2.6.9-r2.ebuild new file mode 100644 index 000000000000..9a11cb36a94f --- /dev/null +++ b/app-admin/fam-oss/fam-oss-2.6.9-r2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/fam-oss/fam-oss-2.6.9-r2.ebuild,v 1.1 2003/02/22 11:55:43 azarah Exp $ + +IUSE="" + +inherit libtool eutils + +MY_P="${P/-oss/}" +S="${WORKDIR}/${MY_P}" +DESCRIPTION="FAM, the File Alteration Monitor." +SRC_URI="ftp://oss.sgi.com/projects/fam/download/${MY_P}.tar.gz" + +HOMEPAGE="http://oss.sgi.com/projects/fam/" + +KEYWORDS="~x86 ~ppc ~alpha ~sparc" +SLOT="0" +LICENSE="GPL-2 LGPL-2.1" + +DEPEND=">=sys-devel/perl-5.6.1" +RDEPEND=">=net-nds/portmap-5b-r6" + +src_unpack() { + unpack ${MY_P}.tar.gz + + cd ${S} + epatch ${FILESDIR}/dnotify.patch.new + epatch ${FILESDIR}/fam-2.6.7-cleanup.patch + epatch ${FILESDIR}/${P}-gcc3.patch + +# Now in dnotify patch. + # should fix the sigqueue overflow problems +# cd ${S}/fam +# mv Makefile.am Makefile.am.old +# sed -e "s:fam_LDADD =:fam_LDADD = -lrt -lpthread:" Makefile.am.old > Makefile.am + + elibtoolize + + # This one is old, and automake will install new one + rm -rf ${S}/missing + + export WANT_AUTOCONF_2_5=1 + export WANT_AUTOMAKE_1_5=1 + aclocal + autoconf +# autoheader + automake --add-missing +} + +src_install() { + cp fam/fam.conf fam/fam.conf.old + sed s:"local_only = false":"local_only = true":g fam/fam.conf.old >fam/fam.conf + + make DESTDIR=${D} \ + install || die + + exeinto /etc/init.d + doexe ${FILESDIR}/fam + + dodoc AUTHORS COPYING ChangeLog INSTALL NEWS TODO README* +} |