diff options
author | Brad Teaford Cowan <bcowan@gentoo.org> | 2002-11-30 10:11:20 +0000 |
---|---|---|
committer | Brad Teaford Cowan <bcowan@gentoo.org> | 2002-11-30 10:11:20 +0000 |
commit | 8fa8dce914f2bbac8281a3a6c856647d52a45e2f (patch) | |
tree | 05ef0fc11c5237a55e7a41edd666c74b014e2abf /sys-apps/findutils | |
parent | Worked for ages on ppc (diff) | |
download | gentoo-2-8fa8dce914f2bbac8281a3a6c856647d52a45e2f.tar.gz gentoo-2-8fa8dce914f2bbac8281a3a6c856647d52a45e2f.tar.bz2 gentoo-2-8fa8dce914f2bbac8281a3a6c856647d52a45e2f.zip |
temp fix for bug # 260
Diffstat (limited to 'sys-apps/findutils')
-rw-r--r-- | sys-apps/findutils/ChangeLog | 9 | ||||
-rw-r--r-- | sys-apps/findutils/files/digest-findutils-4.1.7-r2 | 1 | ||||
-rw-r--r-- | sys-apps/findutils/findutils-4.1.7-r2.ebuild | 62 |
3 files changed, 71 insertions, 1 deletions
diff --git a/sys-apps/findutils/ChangeLog b/sys-apps/findutils/ChangeLog index f609d65b7ae4..9648b26fcc1e 100644 --- a/sys-apps/findutils/ChangeLog +++ b/sys-apps/findutils/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-apps/findutils # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/sys-apps/findutils/ChangeLog,v 1.3 2002/07/14 19:20:17 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/findutils/ChangeLog,v 1.4 2002/11/30 10:11:20 bcowan Exp $ + +*findutils-4.1.7-r2 (29 Nov 2002) + + 29 Nov 2002; Brad Cowan <bcowan@gentoo.org> findutils-4.1.7-r2.ebuild, + files/digest-findutils-4.1.7-r2: + + Added some library dependencies if use afs, temp fix for bug #260. *findutils-4.1-r7.ebuild (14 July 2002) diff --git a/sys-apps/findutils/files/digest-findutils-4.1.7-r2 b/sys-apps/findutils/files/digest-findutils-4.1.7-r2 new file mode 100644 index 000000000000..71e0d8a53382 --- /dev/null +++ b/sys-apps/findutils/files/digest-findutils-4.1.7-r2 @@ -0,0 +1 @@ +MD5 582d9b35006065f81f71d681c165fa1e findutils-4.1.7.tar.gz 634058 diff --git a/sys-apps/findutils/findutils-4.1.7-r2.ebuild b/sys-apps/findutils/findutils-4.1.7-r2.ebuild new file mode 100644 index 000000000000..733f46e979b3 --- /dev/null +++ b/sys-apps/findutils/findutils-4.1.7-r2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/findutils/findutils-4.1.7-r2.ebuild,v 1.1 2002/11/30 10:11:20 bcowan Exp $ + +IUSE="nls build" + +S=${WORKDIR}/${P} +DESCRIPTION="GNU utilities to find files" +SRC_URI="ftp://alpha.gnu.org/gnu/${P}.tar.gz" +HOMEPAGE="http://www.gnu.org/software/findutils/findutils.html" +KEYWORDS="~x86" +SLOT="0" +LICENSE="GPL-2" + +DEPEND="virtual/glibc + nls? ( sys-devel/gettext )" +RDEPEND="virtual/glibc" + +src_compile() { + + local myconf + + use nls || myconf="${myconf} --disable-nls" + + if use afs + then + export CPPFLAGS=-I/usr/afsws/include + export LDFLAGS=-lpam + export LIBS=/usr/afsws/lib/pam_afs.so.1 + fi + + ./configure --host=${CHOST} \ + --prefix=/usr \ + --localstatedir=/var/spool/locate \ + ${myconf} || die + + emake libexecdir=/usr/lib/find || die +} + +src_install() { + #do not change 'localstatedir=/var/spool/locate' to + #'localstatedir=${D}/var/spool/locate', as it will then be hardcoded + #into locate and updatedb + make prefix=${D}/usr \ + mandir=${D}/usr/share/man \ + infodir=${D}/usr/share/info \ + localstatedir=/var/spool/locate \ + libexecdir=${D}/usr/lib/find \ + install || die + + dosed "s:TMPDIR=/usr/tmp:TMPDIR=/tmp:" usr/bin/updatedb + rm -rf ${D}/usr/var + if [ -z "`use build`" ] + then + dodoc COPYING NEWS README TODO ChangeLog + else + rm -rf ${D}/usr/share + fi + dodir /var/spool/locate + touch ${D}/var/spool/locate/.keep +} + |