diff --git a/system/base/findutils/actions.py b/system/base/findutils/actions.py
index 8d1164b4..841e6a2c 100644
--- a/system/base/findutils/actions.py
+++ b/system/base/findutils/actions.py
@@ -10,13 +10,10 @@ from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
- # write sed commands using pisitools.dosed :)
- shelltools.system('sed -i "/^SUBDIRS/s/locate//" Makefile.in')
- #shelltools.system('sed -i "/gets is a security hole/d" gnulib/lib/stdio.in.h')
-
shelltools.export("CFLAGS", "%s -D_GNU_SOURCE" % get.CFLAGS())
autotools.configure("--enable-nls \
+ --localstatedir=/var/lib/locate \
--without-included-regex \
--disable-rpath \
--disable-assert \
@@ -31,6 +28,6 @@ def check():
autotools.make("check")
def install():
- autotools.install()
+ autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("ChangeLog", "NEWS", "TODO", "README")
diff --git a/system/base/findutils/pspec.xml b/system/base/findutils/pspec.xml
index e50e0dee..617fa1f9 100644
--- a/system/base/findutils/pspec.xml
+++ b/system/base/findutils/pspec.xml
@@ -15,6 +15,7 @@
http://ftp.gnu.org/pub/gnu/findutils/findutils-4.6.0.tar.gz
gettext-devel
+ texinfo
@@ -23,10 +24,12 @@
/usr/bin
/usr/lib/find
+ /usr/libexec
/usr/share/doc
/usr/share/man
/usr/share/info
/usr/share/locale
+ /var