diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2001-12-18 22:59:22 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2001-12-18 22:59:22 +0000 |
commit | ce9b3f55240ae7e6f2430ecff3fee6e04aab296d (patch) | |
tree | 2340916649096bb6ef3c6a90730e4646e0ca3ce0 /sys-apps/findutils | |
parent | add missing patch (diff) | |
download | gentoo-2-ce9b3f55240ae7e6f2430ecff3fee6e04aab296d.tar.gz gentoo-2-ce9b3f55240ae7e6f2430ecff3fee6e04aab296d.tar.bz2 gentoo-2-ce9b3f55240ae7e6f2430ecff3fee6e04aab296d.zip |
fix updatedb (database) location
Diffstat (limited to 'sys-apps/findutils')
-rw-r--r-- | sys-apps/findutils/findutils-4.1.7.ebuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys-apps/findutils/findutils-4.1.7.ebuild b/sys-apps/findutils/findutils-4.1.7.ebuild index 7cccad4d7647..a5b5ac35b56f 100644 --- a/sys-apps/findutils/findutils-4.1.7.ebuild +++ b/sys-apps/findutils/findutils-4.1.7.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: System Team <system@gentoo.org> # Author: Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-apps/findutils/findutils-4.1.7.ebuild,v 1.1 2001/12/17 12:23:23 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/findutils/findutils-4.1.7.ebuild,v 1.2 2001/12/18 22:59:22 azarah Exp $ S=${WORKDIR}/${P} DESCRIPTION="GNU utilities to find files" @@ -14,12 +14,13 @@ RDEPEND="virtual/glibc" src_compile() { - ./configure --host=${CHOST} --prefix=/usr || die + ./configure --host=${CHOST} --prefix=/usr --localstatedir=/var/spool/locate || die emake libexecdir=/usr/lib/find || die } src_install() { - make prefix=${D}/usr mandir=${D}/usr/share/man infodir=${D}/usr/share/info libexecdir=${D}/usr/lib/find install || die + 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`" ] |